Amandus: Simulations based on multilevel Schwarz methods
|
#include <solution.h>
Public Member Functions | |
MixedSolution (const std::vector< double > ¶meters) | |
virtual double | value (const Point< 2 > &p, const unsigned int component) const |
Public Attributes | |
const ScalarSolution | scalar_solution |
The exact scalar solution. More... | |
const CheckerboardTensorFunction | coefficient |
The corresponding checkerboard coefficient. More... | |
The exact mixed solution to a divergence free solution of Darcy's equation with a checkerboard coefficient as given by the argument to the constructor, i.e. if \(p\) denotes the exact scalar solution and \(K\) the checkerboard coefficient
\[ \left( \begin{array}{c} -K \nabla p \\ p \]
Darcy::Checkerboard::MixedSolution::MixedSolution | ( | const std::vector< double > & | parameters | ) |
|
virtual |
const CheckerboardTensorFunction Darcy::Checkerboard::MixedSolution::coefficient |
The corresponding checkerboard coefficient.
const ScalarSolution Darcy::Checkerboard::MixedSolution::scalar_solution |
The exact scalar solution.