Difference between revisions of "Customization"

From Medusa: Coordinate Free Mehless Method implementation
Jump to: navigation, search
Line 3: Line 3:
  
 
== Custom operators: Biharmonic equation ==
 
== Custom operators: Biharmonic equation ==
 +
Biharmonic operator $\nabla^4$ is not included in Medusa by default, but it is easy to define.
 +
 
We solve the problem
 
We solve the problem
  

Revision as of 16:09, 4 August 2019

Medusa library support users defining custom basis types, weights, operators and more, as long as they conform to the prescribed interfaces, given in the Concepts page. Here we show this on an example of the biharmonic equation.

Custom operators: Biharmonic equation

Biharmonic operator $\nabla^4$ is not included in Medusa by default, but it is easy to define.

We solve the problem

$ \begin{align} \nabla^4 u &= f &&\text{in } \Omega, \\ u &= g_d &&\text{on } \partial \Omega,\\ \frac{\partial u}{\partial \vec n} &= g_n &&\text{on } \partial \Omega, \end{align} $ where $u = TODO$ and $f$, $g_d$ and $g_n$ are computed from $u$.

TODO: JureMB