|
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...
|
|
| L2Integrand (TGridFunction &spGridFct, size_t cmp) |
| CTOR. More...
|
|
| L2Integrand (TGridFunction &spGridFct, size_t cmp, ConstSmartPtr< weight_type > spWeight) |
|
virtual void | set_subset (int si) |
| sets subset More...
|
|
virtual | ~L2Integrand () |
| DTOR. More...
|
|
Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, L2Integrand< 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...
|
|
template<typename TGridFunction>
class ug::L2Integrand< TGridFunction >
Grid function as L2 integrand.
template<typename TGridFunction >
template<int elemDim>
returns the values of the integrand for a bunch of ips
- Parameters
-
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::L2Integrand< TGridFunction >::m_scalarData, ug::L2Integrand< TGridFunction >::m_spWeight, ug::LocalDoFSet::num_sh(), ug::GridObject::reference_object_id(), ug::LocalShapeFunctionSet< TDim, TShape, TGrad >::shape(), ug::IIntegrand< TData, TWorldDim >::subset(), UG_ASSERT, UG_CATCH_THROW, UG_THROW, and ConstSmartPtr< T, FreePolicy >::valid().