|
| 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
|
| |
| | UserDataIntegrandSq (SmartPtr< UserData< TData, worldDim > > spData, const TGridFunction *pGridFct, number time) |
| | constructor
|
| |
| | UserDataIntegrandSq (SmartPtr< UserData< TData, worldDim > > spData, number time) |
| | constructor
|
| |
Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, UserDataIntegrandSq< TData, 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) |
| | returns the values of the integrand for a bunch of ips
|
| |
| 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) |
| | returns the values of the integrand for a bunch of ips
|
| |
| 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) |
| | returns the values of the integrand for a bunch of ips
|
| |
Public Member Functions inherited from ug::IIntegrand< TData, TWorldDim > |
| 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
|
| |
template<typename TData, typename TGridFunction>
class ug::UserDataIntegrandSq< TData, TGridFunction >
For arbitrary UserData \(f\) (of type TData), this class defines the integrand \(f^2(u)\).
template<typename TData , 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::GetLocalVector(), ug::UserDataIntegrandSq< TData, TGridFunction >::inner_prod(), ug::UserDataIntegrandSq< TData, TGridFunction >::m_pGridFct, ug::IIntegrand< TData, TWorldDim >::m_si, ug::UserDataIntegrandSq< TData, TGridFunction >::m_spData, ug::UserDataIntegrandSq< TData, TGridFunction >::m_time, ug::LocalVector::resize(), UG_ASSERT, and UG_CATCH_THROW.