|
| template<int elemDim> |
| void | evaluate (number vValue[], const MathVector< worldDim > vGlobIP[], GridObject *pFineElem, const MathVector< worldDim > vCornerCoords[], const MathVector< elemDim > vFineLocIP[], const MathMatrix< elemDim, worldDim > vJT[], const size_t numIP) |
| | returns the values of the integrand for a bunch of ips
|
| |
| virtual void | set_subset (int si) |
| | sets subset
|
| |
| | UserDataDistIntegrandSq (SmartPtr< UserData< TData, worldDim > > spData, TGridFunction &fineGridFct, size_t fineCmp, TGridFunction &coarseGridFct, size_t coarseCmp) |
| | constructor (1st is fine grid function)
|
| |
| virtual | ~UserDataDistIntegrandSq () |
| |
Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, UserDataDistIntegrandSq< 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 > |
| 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::UserDataDistIntegrandSq< TData, TGridFunction >
For arbitrary UserData \(f\) and grid functions \(u_1\) and \(u_2\), this class (should) define the integrand \( (f(u_1)- f(u_2))^2 \).
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::CollectCornerCoordinates(), ug::GetLocalVector(), ug::DimReferenceMapping< TDim, TWorldDim >::global_to_local(), ug::UserDataDistIntegrandSq< TData, TGridFunction >::inner_dist2(), ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_coarseData, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_coarseTopLevel, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_fineData, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_fineTopLevel, ug::IIntegrand< TData, TWorldDim >::m_si, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_spData, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_spMG, ug::UserDataDistIntegrandSq< TData, TGridFunction >::m_time, ug::GridObject::reference_object_id(), ug::LocalVector::resize(), UG_CATCH_THROW, and ug::VecSet().