|
ug4
|
Abstract integrand interface. More...
#include <integrate.h>
Inheritance diagram for ug::IIntegrand< TData, TWorldDim >:Public Types | |
| typedef TData | data_type |
| data type | |
Public Member Functions | |
| virtual void | set_subset (int si) |
| sets the subset | |
| int | subset () const |
| returns the subset | |
| virtual | ~IIntegrand () |
| virtual void | values (TData vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 1 > vLocIP[], const MathMatrix< 1, worldDim > vJT[], const size_t numIP)=0 |
| returns the values of the integrand for a bunch of ips | |
| virtual void | values (TData vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 2 > vLocIP[], const MathMatrix< 2, worldDim > vJT[], const size_t numIP)=0 |
| returns the values of the integrand for a bunch of ips | |
| virtual void | values (TData vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 3 > vLocIP[], const MathMatrix< 3, worldDim > vJT[], const size_t numIP)=0 |
| returns the values of the integrand for a bunch of ips | |
Static Public Attributes | |
| static const int | worldDim = TWorldDim |
| world dimension | |
Protected Attributes | |
| int | m_si |
| subset | |
Abstract integrand interface.
An integrand is a short-living (temporary) object that is generated/used in various integration functions.
| typedef TData ug::IIntegrand< TData, TWorldDim >::data_type |
data type
|
inlinevirtual |
|
inlinevirtual |
sets the subset
Reimplemented in ug::UserDataDistIntegrandSq< TData, TGridFunction >, ug::MaximumDistIntegrand< TGridFunction >, ug::L2ErrorIntegrand< TGridFunction >, ug::H1ErrorIntegrand< TGridFunction >, ug::L2Integrand< TGridFunction >, ug::L2DistIntegrand< TGridFunction >, ug::H1SemiIntegrand< TGridFunction >, ug::H1SemiDistIntegrand< TGridFunction >, ug::H1EnergyIntegrand< TGridFunction >, ug::H1EnergyDistIntegrand< TGridFunction >, ug::H1NormIntegrand< TGridFunction >, ug::H1DistIntegrand< TGridFunction >, and ug::StdFuncIntegrand< TGridFunction >.
References ug::IIntegrand< TData, TWorldDim >::m_si.
Referenced by ug::IntegralNormalComponentOnManifoldSubset(), ug::IntegrateSubset(), ug::UserDataDistIntegrandSq< TData, TGridFunction >::set_subset(), ug::MaximumDistIntegrand< TGridFunction >::set_subset(), ug::L2ErrorIntegrand< TGridFunction >::set_subset(), ug::H1ErrorIntegrand< TGridFunction >::set_subset(), ug::L2Integrand< TGridFunction >::set_subset(), ug::L2DistIntegrand< TGridFunction >::set_subset(), ug::H1SemiIntegrand< TGridFunction >::set_subset(), ug::H1SemiDistIntegrand< TGridFunction >::set_subset(), ug::H1EnergyIntegrand< TGridFunction >::set_subset(), ug::H1EnergyDistIntegrand< TGridFunction >::set_subset(), ug::H1NormIntegrand< TGridFunction >::set_subset(), ug::H1DistIntegrand< TGridFunction >::set_subset(), and ug::StdFuncIntegrand< TGridFunction >::set_subset().
|
inline |
returns the subset
References ug::IIntegrand< TData, TWorldDim >::m_si.
Referenced by ug::L2DistIntegrand< TGridFunction >::evaluate(), ug::H1SemiDistIntegrand< TGridFunction >::evaluate(), ug::H1EnergyDistIntegrand< TGridFunction >::evaluate(), ug::L2ErrorIntegrand< TGridFunction >::evaluate(), ug::H1ErrorIntegrand< TGridFunction >::evaluate(), ug::L2Integrand< TGridFunction >::evaluate(), ug::H1SemiIntegrand< TGridFunction >::evaluate(), and ug::H1EnergyIntegrand< TGridFunction >::evaluate().
|
pure virtual |
returns the values of the integrand for a bunch of ips
| vValue[out] | the value of the integrand at the ips |
| vGlobIP[in] | global integration point positions |
| pElem[in] | the element to integrate |
| vCornerCoords[in] | corner coordinates of the element |
| vLocIP[in] | local integration point positions |
| vJT[in] | jacobian transposed at integration point |
| numIP[in] | number of integration points |
Implemented in ug::StdIntegrand< TData, TWorldDim, TImpl >, and ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > >.
Referenced by ug::Integrate().
|
pure virtual |
returns the values of the integrand for a bunch of ips
| vValue[out] | the value of the integrand at the ips |
| vGlobIP[in] | global integration point positions |
| pElem[in] | the element to integrate |
| vCornerCoords[in] | corner coordinates of the element |
| vLocIP[in] | local integration point positions |
| vJT[in] | jacobian transposed at integration point |
| numIP[in] | number of integration points |
Implemented in ug::StdIntegrand< TData, TWorldDim, TImpl >, and ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > >.
|
pure virtual |
returns the values of the integrand for a bunch of ips
| vValue[out] | the value of the integrand at the ips |
| vGlobIP[in] | global integration point positions |
| pElem[in] | the element to integrate |
| vCornerCoords[in] | corner coordinates of the element |
| vLocIP[in] | local integration point positions |
| vJT[in] | jacobian transposed at integration point |
| numIP[in] | number of integration points |
Implemented in ug::StdIntegrand< TData, TWorldDim, TImpl >, and ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > >.
|
protected |
subset
Referenced by ug::UserDataIntegrandSq< TData, TGridFunction >::evaluate(), ug::UserDataDistIntegrandSq< TData, TGridFunction >::evaluate(), ug::UserDataIntegrand< TData, TGridFunction >::evaluate(), ug::IIntegrand< TData, TWorldDim >::set_subset(), and ug::IIntegrand< TData, TWorldDim >::subset().
|
static |
world dimension