|
ug4
|
For arbitrary UserData \(\rho\), this class defines the integrand \(\rho(u)\). More...
#include <integrate.h>
Inheritance diagram for ug::UserDataIntegrand< TData, TGridFunction >:Public Types | |
| typedef TData | data_type |
Public Types inherited from ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > > | |
| typedef TData | data_type |
| data type | |
Public Types inherited from ug::IIntegrand< TData, TWorldDim > | |
| typedef TData | data_type |
| data type | |
Public Member Functions | |
| template<int elemDim> | |
| void | evaluate (TData 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 | |
| UserDataIntegrand (SmartPtr< UserData< TData, worldDim > > spData, number time) | |
| constructor | |
| UserDataIntegrand (SmartPtr< UserData< TData, worldDim > > spData, TGridFunction *spGridFct, number time) | |
| constructor | |
Public Member Functions inherited from ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > > | |
| 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) |
| 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) |
| 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) |
| 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 () |
Static Public Attributes | |
| static const int | worldDim = TGridFunction::dim |
Static Public Attributes inherited from ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > > | |
| static const int | worldDim |
| world dimension | |
Static Public Attributes inherited from ug::IIntegrand< TData, TWorldDim > | |
| static const int | worldDim = TWorldDim |
| world dimension | |
Private Attributes | |
| SmartPtr< UserData< TData, worldDim > > | m_spData |
| TGridFunction * | m_spGridFct |
| number | m_time |
Additional Inherited Members | |
Protected Member Functions inherited from ug::StdIntegrand< TData, TGridFunction::dim, UserDataIntegrand< TData, TGridFunction > > | |
| UserDataIntegrand< TData, TGridFunction > & | getImpl () |
| access to implementation | |
| const UserDataIntegrand< TData, TGridFunction > & | getImpl () const |
| const access to implementation | |
Protected Attributes inherited from ug::IIntegrand< TData, TWorldDim > | |
| int | m_si |
| subset | |
For arbitrary UserData \(\rho\), this class defines the integrand \(\rho(u)\).
| typedef TData ug::UserDataIntegrand< TData, TGridFunction >::data_type |
|
inline |
constructor
References ug::UserDataIntegrand< TData, TGridFunction >::m_spData.
|
inline |
constructor
References ug::UserDataIntegrand< TData, TGridFunction >::m_spData, and UG_COND_THROW.
|
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::GetLocalVector(), ug::IIntegrand< TData, TWorldDim >::m_si, ug::UserDataIntegrand< TData, TGridFunction >::m_spData, ug::UserDataIntegrand< TData, TGridFunction >::m_spGridFct, ug::UserDataIntegrand< TData, TGridFunction >::m_time, ug::LocalVector::resize(), and UG_CATCH_THROW.
|
private |
|
private |
Referenced by ug::UserDataIntegrand< TData, TGridFunction >::evaluate().
|
private |
Referenced by ug::UserDataIntegrand< TData, TGridFunction >::evaluate().
|
static |