ug4
|
Norm of a grid function, evaluated in (weighted) H1-semi norm. More...
#include <integrate.h>
Public Types | |
typedef UserData< MathMatrix< worldDim, worldDim >, worldDim > | weight_type |
![]() | |
typedef number | data_type |
data type | |
![]() | |
typedef TData | data_type |
data type | |
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 | |
H1SemiIntegrand (TGridFunction &gridFct, size_t cmp) | |
constructor | |
H1SemiIntegrand (TGridFunction &gridFct, size_t cmp, ConstSmartPtr< weight_type > spWeight) | |
constructor | |
virtual void | set_subset (int si) |
sets subset | |
virtual | ~H1SemiIntegrand () |
DTOR. | |
![]() | |
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 | |
![]() | |
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 | |
Static Public Attributes | |
static const int | worldDim = TGridFunction::dim |
world dimension of grid function | |
![]() | |
static const int | worldDim |
world dimension | |
![]() | |
static const int | worldDim = TWorldDim |
world dimension | |
Protected Attributes | |
ScalarGridFunctionData< TGridFunction > | m_scalarData |
grid function data | |
ConstSmartPtr< weight_type > | m_spWeight |
scalar weight (optional) | |
![]() | |
int | m_si |
subset | |
Additional Inherited Members | |
![]() | |
H1SemiIntegrand< TGridFunction > & | getImpl () |
access to implementation | |
const H1SemiIntegrand< TGridFunction > & | getImpl () const |
const access to implementation | |
Norm of a grid function, evaluated in (weighted) H1-semi norm.
typedef UserData<MathMatrix<worldDim, worldDim>, worldDim> ug::H1SemiIntegrand< TGridFunction >::weight_type |
|
inline |
constructor
References new().
|
inline |
constructor
|
inlinevirtual |
DTOR.
|
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::GetLocalVector(), ug::LocalShapeFunctionSet< TDim, TShape, TGrad >::grads(), ug::DimReferenceMapping< TDim, TWorldDim >::jacobian_transposed_inverse(), ug::H1SemiIntegrand< TGridFunction >::m_scalarData, ug::H1SemiIntegrand< TGridFunction >::m_spWeight, ug::MatVecMult(), ug::LocalDoFSet::num_sh(), 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, UG_COND_THROW, ConstSmartPtr< T, FreePolicy >::valid(), ug::VecDot(), and ug::VecScaleAppend().
|
inlinevirtual |
sets subset
Reimplemented from ug::IIntegrand< TData, TWorldDim >.
References ug::H1SemiIntegrand< TGridFunction >::m_scalarData, ug::IIntegrand< TData, TWorldDim >::set_subset(), and UG_COND_THROW.
|
protected |
grid function data
Referenced by ug::H1SemiIntegrand< TGridFunction >::evaluate(), and ug::H1SemiIntegrand< TGridFunction >::set_subset().
|
protected |
scalar weight (optional)
Referenced by ug::H1SemiIntegrand< TGridFunction >::evaluate().
|
static |
world dimension of grid function