ug4
ug::GradientEvaluator_LagrangeP1< TFunction > Class Template Reference

#include <gradient_evaluators.h>

Public Types

typedef TFunction::element_type elem_t
 
typedef MathVector< dimvector_t
 

Public Member Functions

vector_t evaluate (elem_t *elem)
 
 GradientEvaluator_LagrangeP1 (TFunction *u, size_t fct)
 

Static Public Attributes

static const int dim = TFunction::dim
 

Private Attributes

MathMatrix< dim, dimJTInv
 
TFunction::domain_type::position_accessor_type m_aaPos
 
size_t m_fct
 
TFunction * m_pu
 
std::vector< vector_tvCorner
 
std::vector< vector_tvGlobalGrad
 
std::vector< vector_tvLocalGrad
 

Detailed Description

template<class TFunction>
class ug::GradientEvaluator_LagrangeP1< TFunction >

Provides a function to evaluate the gradient of a given grid function efficiently in each element.

Member Typedef Documentation

◆ elem_t

template<class TFunction >
typedef TFunction::element_type ug::GradientEvaluator_LagrangeP1< TFunction >::elem_t

◆ vector_t

template<class TFunction >
typedef MathVector<dim> ug::GradientEvaluator_LagrangeP1< TFunction >::vector_t

Constructor & Destructor Documentation

◆ GradientEvaluator_LagrangeP1()

template<class TFunction >
ug::GradientEvaluator_LagrangeP1< TFunction >::GradientEvaluator_LagrangeP1 ( TFunction *  u,
size_t  fct 
)
inline

Member Function Documentation

◆ evaluate()

Member Data Documentation

◆ dim

template<class TFunction >
const int ug::GradientEvaluator_LagrangeP1< TFunction >::dim = TFunction::dim
static

◆ JTInv

template<class TFunction >
MathMatrix<dim, dim> ug::GradientEvaluator_LagrangeP1< TFunction >::JTInv
private

◆ m_aaPos

template<class TFunction >
TFunction::domain_type::position_accessor_type ug::GradientEvaluator_LagrangeP1< TFunction >::m_aaPos
private

◆ m_fct

template<class TFunction >
size_t ug::GradientEvaluator_LagrangeP1< TFunction >::m_fct
private

◆ m_pu

template<class TFunction >
TFunction* ug::GradientEvaluator_LagrangeP1< TFunction >::m_pu
private

◆ vCorner

template<class TFunction >
std::vector<vector_t > ug::GradientEvaluator_LagrangeP1< TFunction >::vCorner
private

◆ vGlobalGrad

template<class TFunction >
std::vector<vector_t > ug::GradientEvaluator_LagrangeP1< TFunction >::vGlobalGrad
private

◆ vLocalGrad

template<class TFunction >
std::vector<vector_t > ug::GradientEvaluator_LagrangeP1< TFunction >::vLocalGrad
private

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