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

#include <p1groundwaterestimator.hh>

List of all members.


Detailed Description

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

compute local stiffness matrix for conforming finite elements for diffusion equation


Public Member Functions

 ElementGroundwaterEstimator (const GroundwaterEquationParameters< G, RT > &params)
 Constructor.
void estimate (const Entity &e, RT &elementpart)
 Evaluate element part of error estimator.
void estimate (const Entity &e, const IntersectionIterator &it, const EEntityPointer &outside, RT facefluxK[], RT facefluxN[], RT &facefactor, typename BoundaryConditions::Flags &facebctype, bool first)
 Evaluate face part of error estimator for a given face.

Member Function Documentation

template<class G, class RT>
void Dune::ElementGroundwaterEstimator< G, RT >::estimate ( const Entity &  e,
RT &  elementpart 
) [inline]

Evaluate element part of error estimator.

This functions is only implemented for P1 elements ! This function assumes a conforming mesh !

Parameters:
[in] e a codim 0 entity reference
[out] elementpart element part of error estimator

template<class G, class RT>
void Dune::ElementGroundwaterEstimator< G, RT >::estimate ( const Entity &  e,
const IntersectionIterator &  it,
const EEntityPointer &  outside,
RT  facefluxK[],
RT  facefluxN[],
RT &  facefactor,
typename BoundaryConditions::Flags facebctype,
bool  first 
) [inline]

Evaluate face part of error estimator for a given face.

This functions is only implemented for P1 elements ! This function assumes a conforming mesh !

Parameters:
[in] e a codim 0 entity reference
[in] it an intersection iterator started from e
[out] facefluxK the faceflux is evaluated as Sum facefluxK[i]*coeff[i] with coefficients of finite element function
[out] facefluxN same for neighbor of the given face
[out] facefactor factor by which difference of fluxes has to be multiplied
[out] facebctype if bctype is neumann then facefluxN[0] contains neumann value


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

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