ug4
|
#include <integrate.h>
Public Member Functions | |
template<int elemDim> | |
void | evaluate (number vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< elemDim > vLocIP[], const MathMatrix< elemDim, worldDim > vJT[], const size_t numIP) |
returns the values of the integrand for a bunch of ips More... | |
L2ErrorIntegrand (SmartPtr< UserData< number, worldDim > > spExactSol, TGridFunction &gridFct, size_t cmp, number time) | |
constructor More... | |
virtual void | set_subset (int si) |
sets subset More... | |
virtual | ~L2ErrorIntegrand () |
Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, L2ErrorIntegrand< TGridFunction > > | |
virtual void | values (number vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 1 > vLocIP[], const MathMatrix< 1, worldDim > vJT[], const size_t numIP) |
virtual void | values (number vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 2 > vLocIP[], const MathMatrix< 2, worldDim > vJT[], const size_t numIP) |
virtual void | values (number vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< 3 > vLocIP[], const MathMatrix< 3, worldDim > vJT[], const size_t numIP) |
Public Member Functions inherited from ug::IIntegrand< TData, TWorldDim > | |
int | subset () const |
returns the subset More... | |
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 More... | |
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 More... | |
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 More... | |
Static Public Attributes | |
static const int | worldDim = TGridFunction::dim |
world dimension of grid function More... | |
Static Public Attributes inherited from ug::StdIntegrand< number, TGridFunction::dim, L2ErrorIntegrand< TGridFunction > > | |
static const int | worldDim |
world dimension More... | |
Static Public Attributes inherited from ug::IIntegrand< TData, TWorldDim > | |
static const int | worldDim = TWorldDim |
world dimension More... | |
Private Attributes | |
ScalarGridFunctionData< TGridFunction > | m_scalarData |
SmartPtr< UserData< number, worldDim > > | m_spExactSolution |
exact solution More... | |
number | m_time |
time More... | |
Additional Inherited Members | |
Public Types inherited from ug::StdIntegrand< number, TGridFunction::dim, L2ErrorIntegrand< TGridFunction > > | |
typedef number | data_type |
data type More... | |
Public Types inherited from ug::IIntegrand< TData, TWorldDim > | |
typedef TData | data_type |
data type More... | |
Protected Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, L2ErrorIntegrand< TGridFunction > > | |
L2ErrorIntegrand< TGridFunction > & | getImpl () |
access to implementation More... | |
const L2ErrorIntegrand< TGridFunction > & | getImpl () const |
const access to implementation More... | |
Protected Attributes inherited from ug::IIntegrand< TData, TWorldDim > | |
int | m_si |
subset More... | |
|
inline |
constructor
|
inlinevirtual |
|
inline |
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 |
References ug::DoFRef(), ug::L2ErrorIntegrand< TGridFunction >::m_scalarData, ug::L2ErrorIntegrand< TGridFunction >::m_time, ug::LocalDoFSet::num_sh(), ug::GridObject::reference_object_id(), ug::LocalShapeFunctionSet< TDim, TShape, TGrad >::shape(), ug::IIntegrand< TData, TWorldDim >::subset(), UG_CATCH_THROW, and UG_THROW.
|
inlinevirtual |
sets subset
Reimplemented from ug::IIntegrand< TData, TWorldDim >.
References ug::L2ErrorIntegrand< TGridFunction >::m_scalarData, ug::IIntegrand< TData, TWorldDim >::set_subset(), and UG_THROW.
|
private |
|
private |
exact solution
|
private |
time
Referenced by ug::L2ErrorIntegrand< TGridFunction >::evaluate().
|
static |
world dimension of grid function