This is an adaptive version of the module Basic.
-div(c1 nabla u) + (c2, c3) cdot nabla u + c4 u = c5
Here:
- c1 ... equation parameter, element-wise constant
- c2 ... equation parameter, element-wise constant
- c3 ... equation parameter, element-wise constant
- c4 ... equation parameter, element-wise constant
- c5 ... equation parameter, element-wise constant
Dirichlet with piecewise-constant values (u = const) Neumann with piecewise-constant normal derivatives (du/dn = const) Newton with piecewise-constant parameters (const_1 u + du/dn = const_2)
In the root directory of this module, type:
cmake . make
C++ sources are located in the directory src/. Change dir to the directory src/ and run the module using:
./module-basicadapt model.cfg
The file model.cfg is a text file that emulates input from a GUI. You can change the parameters there at your will.
Python wrappers are located in the directory python/ and they allow you to call the module from Python as follows:
python module-basicadapt.py
The file module-basic.py contains a set of parameters analogous to those which on C++ level are in the file model.cfg. The user can change these parameters arbitrarily.
To be completed.