Amandus: Simulations based on multilevel Schwarz methods
Public Member Functions | Public Attributes | List of all members
Darcy::Checkerboard::MixedSolution Class Reference

#include <solution.h>

Inheritance diagram for Darcy::Checkerboard::MixedSolution:
Inheritance graph
[legend]
Collaboration diagram for Darcy::Checkerboard::MixedSolution:
Collaboration graph
[legend]

Public Member Functions

 MixedSolution (const std::vector< double > &parameters)
 
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...
 

Detailed Description

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 \]

Constructor & Destructor Documentation

Darcy::Checkerboard::MixedSolution::MixedSolution ( const std::vector< double > &  parameters)

Member Function Documentation

double Darcy::Checkerboard::MixedSolution::value ( const Point< 2 > &  p,
const unsigned int  component 
) const
virtual

Here is the call graph for this function:

Member Data Documentation

const CheckerboardTensorFunction Darcy::Checkerboard::MixedSolution::coefficient

The corresponding checkerboard coefficient.

const ScalarSolution Darcy::Checkerboard::MixedSolution::scalar_solution

The exact scalar solution.


The documentation for this class was generated from the following file: