Dune::GroundwaterEquationParameters< G, RT > Class Template Reference
[Discretizations]

#include <groundwater.hh>

List of all members.


Detailed Description

template<class G, class RT>
class Dune::GroundwaterEquationParameters< G, RT >

base class that defines the parameters of a the diffusion equation

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

Member Function Documentation

template<class G, class RT>
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

Parameters:
[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

template<class G, class RT>
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

Parameters:
[in] x position in global coordinates
[in] e entity of codim 0
[in] xi position in reference element of e
Returns:
value of source term

template<class G, class RT>
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

Parameters:
[in] x position in global coordinates
Returns:
boundary condition type given by enum in this class

template<class G, class RT>
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

Parameters:
[in] x position in global coordinates
Returns:
boundary condition value

template<class G, class RT>
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

Parameters:
[in] x position in global coordinates
Returns:
boundary condition value


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

Generated on 6 Jan 2009 with Doxygen (ver 1.5.1) [logfile].