# Questions tagged [design-patterns]

The tag has no usage guidance.

8 questions
Filter by
Sorted by
Tagged with
52 views

### Why do BVP solvers' APIs only allow "unknown" parameters in the derivative and residual functions but not "known" parameters?

I recently needed to solve a second order boundary value problem and noticed that both scipy.integrate.solve_bvp and Matlab's ...
255 views

### Solving Poisson equations as mixed Laplace using $RT_0-P_0$ pair

I'm trying to solve \begin{cases} - \Delta p=f \text{ in } \Omega\\ p=0 \text{ on } \partial \Omega \end{cases} with in $\Omega = [-1,1]^2$ by writing it as \begin{cases} u + \nabla p=0 \\ -\...
1 vote
76 views

### Building blocks for solving a vector valued problem

This question is a follow-up of this previous one. I decided to solve the linear elasticity \begin{cases}- \nabla \sigma(u)=f \\ u=0 \text{ on } \partial \Omega\end{cases} with P1 Lagrangian finite ...
1 vote
40 views

### Logging vs outputs in iterative optimisation

I'm coding an iterative algorithm of constrained continuous optimisation. An augmented Lagrangian algorithm (outer) calls a bound-constrained L-BFGS-B algorithm (inner), which calls a line search ...
1 vote
62 views

### Understanding design patterns [closed]

I read some books and scoured the web about design pattern,but almost all ways of expressing design patterns are the same. They define what is it,draw UML and give an example,but what I want is to ...
1k views

### Design patterns in writing numerical software in C++

I'm looking for resources on design patterns and principles for numerical software, potentially but not necessarily with a focus on object-oriented approaches to numerical codes. I am aware of the ...
1 vote