Integrand for the distance of two grid functions - evaluated in the (weighted) H1-semi norm.
More...
|
| template<int elemDim> |
| void | evaluate (number vValue[], const MathVector< worldDim > vFineGlobIP[], 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
|
| |
| | H1SemiDistIntegrand (TGridFunction &fineGridFct, size_t fineCmp, TGridFunction &coarseGridFct, size_t coarseCmp) |
| | constructor
|
| |
| | H1SemiDistIntegrand (TGridFunction &fineGridFct, size_t fineCmp, TGridFunction &coarseGridFct, size_t coarseCmp, ConstSmartPtr< weight_type > spWeight) |
| | constructor
|
| |
| virtual void | set_subset (int si) |
| | sets subset
|
| |
| virtual | ~H1SemiDistIntegrand () |
| |
Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, H1SemiDistIntegrand< 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 TGridFunction>
class ug::H1SemiDistIntegrand< TGridFunction >
Integrand for the distance of two grid functions - evaluated in the (weighted) H1-semi norm.
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::CollectCornerCoordinates(), ug::DoFRef(), ug::GetLocalVector(), ug::DimReferenceMapping< TDim, TWorldDim >::global_to_local(), ug::LocalShapeFunctionSet< TDim, TShape, TGrad >::grads(), ug::DimReferenceMapping< TDim, TWorldDim >::jacobian_transposed_inverse(), ug::H1SemiDistIntegrand< TGridFunction >::m_coarseData, ug::H1SemiDistIntegrand< TGridFunction >::m_coarseTopLevel, ug::H1SemiDistIntegrand< TGridFunction >::m_fineData, ug::H1SemiDistIntegrand< TGridFunction >::m_fineTopLevel, ug::H1SemiDistIntegrand< TGridFunction >::m_spMG, ug::H1SemiDistIntegrand< TGridFunction >::m_spWeight, ug::MatVecMult(), ug::GridObject::reference_object_id(), ug::UserData< TData, dim, TRet >::requires_grid_fct(), ug::LocalVector::resize(), ug::LocalShapeFunctionSet< TDim, TShape, TGrad >::shape(), ug::IIntegrand< TData, TWorldDim >::subset(), UG_ASSERT, UG_CATCH_THROW, ConstSmartPtr< T, FreePolicy >::valid(), ug::VecDistanceSq(), ug::VecScaleAppend(), and ug::VecSet().