- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <groundwater.hh>
An interface for defining parameters for the stationary diffusion equation
div j = q; j = -K grad u; in Omega
u = g on Gamma1; j*n = J on Gamma2.
Template parameters are:
Public Member Functions | |
| virtual const FieldMatrix< DT, n, n > & | K (const FieldVector< DT, n > &x, const Entity &e, const FieldVector< DT, n > &xi) const =0 |
| evaluate diffusion tensor | |
| virtual RT | q (const FieldVector< DT, n > &x, const Entity &e, const FieldVector< DT, n > &xi) const =0 |
| evaluate source term | |
| virtual BoundaryConditions::Flags | bctype (const FieldVector< DT, n > &x, const Entity &e, const FieldVector< DT, n > &xi) const =0 |
| return type of boundary condition at the given global coordinate | |
| virtual RT | g (const FieldVector< DT, n > &x, const Entity &e, const FieldVector< DT, n > &xi) const =0 |
| evaluate Dirichlet boundary condition at given position | |
| virtual RT | J (const FieldVector< DT, n > &x, const Entity &e, const FieldVector< DT, n > &xi) const =0 |
| evaluate Neumann boundary condition at given position | |
| virtual | ~GroundwaterEquationParameters () |
| always defeine virtual destructor in abstract base class | |
| virtual const FieldMatrix<DT,n,n>& Dune::GroundwaterEquationParameters< G, RT >::K | ( | const FieldVector< DT, n > & | x, | |
| const Entity & | e, | |||
| const FieldVector< DT, n > & | xi | |||
| ) | const [pure virtual] |
evaluate diffusion tensor
Evaluate the diffusion tensor at given location
| [in] | x | position in global coordinates |
| [in] | e | entity of codim 0 |
| [in] | xi | position in reference element of e |
| [out] | D | diffusion tensor to be filled |
| virtual RT Dune::GroundwaterEquationParameters< G, RT >::q | ( | const FieldVector< DT, n > & | x, | |
| const Entity & | e, | |||
| const FieldVector< DT, n > & | xi | |||
| ) | const [pure virtual] |
evaluate source term
evaluate source term at given location
| [in] | x | position in global coordinates |
| [in] | e | entity of codim 0 |
| [in] | xi | position in reference element of e |
| virtual BoundaryConditions::Flags Dune::GroundwaterEquationParameters< G, RT >::bctype | ( | const FieldVector< DT, n > & | x, | |
| const Entity & | e, | |||
| const FieldVector< DT, n > & | xi | |||
| ) | const [pure virtual] |
return type of boundary condition at the given global coordinate
return type of boundary condition at the given global coordinate
| [in] | x | position in global coordinates |
| virtual RT Dune::GroundwaterEquationParameters< G, RT >::g | ( | const FieldVector< DT, n > & | x, | |
| const Entity & | e, | |||
| const FieldVector< DT, n > & | xi | |||
| ) | const [pure virtual] |
evaluate Dirichlet boundary condition at given position
evaluate Dirichlet boundary condition at given position
| [in] | x | position in global coordinates |
| virtual RT Dune::GroundwaterEquationParameters< G, RT >::J | ( | const FieldVector< DT, n > & | x, | |
| const Entity & | e, | |||
| const FieldVector< DT, n > & | xi | |||
| ) | const [pure virtual] |
evaluate Neumann boundary condition at given position
evaluate Neumann boundary condition at given position
| [in] | x | position in global coordinates |