Plugins
ug::DeltaSquareIntegrand< TDataIn, TGridFunction > Class Template Reference

#include <time_extrapolation.h>

+ Inheritance diagram for ug::DeltaSquareIntegrand< TDataIn, TGridFunction >:

Public Types

typedef TDataIn data_type
 
- Public Types inherited from ug::StdIntegrand< number, TGridFunction::dim, DeltaSquareIntegrand< TDataIn, TGridFunction > >
typedef TData data_type
 
- Public Types inherited from ug::IIntegrand< class, TWorldDim >
typedef TData data_type
 

Public Member Functions

 DeltaSquareIntegrand (SmartPtr< UserData< TDataIn, worldDim > > spData, const TGridFunction *pGridFct1, const TGridFunction *pGridFct2, number time)
 constructor More...
 
 DeltaSquareIntegrand (SmartPtr< UserData< TDataIn, worldDim > > spData, number time)
 constructor More...
 
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)
 
template<int elemDim>
void get_values (TDataIn vValue[], ConstSmartPtr< UserData< TDataIn, worldDim > > spData, const TGridFunction &gridFct, const MathVector< worldDim > vGlobIP[], GridObject *pElem, const MathVector< worldDim > vCornerCoords[], const MathVector< elemDim > vLocIP[], const MathMatrix< elemDim, worldDim > vJT[], const size_t numIP)
 
- Public Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, DeltaSquareIntegrand< TDataIn, 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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
- Public Member Functions inherited from ug::IIntegrand< class, TWorldDim >
virtual void set_subset (int si)
 
int subset () const
 
virtual ~IIntegrand ()
 

Static Public Attributes

static const int worldDim = TGridFunction::dim
 
- Static Public Attributes inherited from ug::StdIntegrand< number, TGridFunction::dim, DeltaSquareIntegrand< TDataIn, TGridFunction > >
static const int worldDim
 
- Static Public Attributes inherited from ug::IIntegrand< class, TWorldDim >
static const int worldDim
 

Static Private Member Functions

static number product (const MathVector< worldDim > &x, const MathVector< worldDim > &y)
 
static number product (const number &x, const number &y)
 

Private Attributes

const TGridFunction * m_pGridFct1
 
const TGridFunction * m_pGridFct2
 
SmartPtr< UserData< TDataIn, worldDim > > m_spData
 
number m_time
 

Additional Inherited Members

- Protected Member Functions inherited from ug::StdIntegrand< number, TGridFunction::dim, DeltaSquareIntegrand< TDataIn, TGridFunction > >
TImpl & getImpl ()
 
const TImpl & getImpl () const
 
- Protected Attributes inherited from ug::IIntegrand< class, TWorldDim >
int m_si
 

Detailed Description

template<typename TDataIn, typename TGridFunction>
class ug::DeltaSquareIntegrand< TDataIn, TGridFunction >

For arbitrary $\rho$, this class defines the integrand $|\rho(u_1)- \rho(u_2)|^2$. If the grid function $u_2$ is not provided, the class returns $|\rho(u_1)|^2$

Member Typedef Documentation

◆ data_type

template<typename TDataIn , typename TGridFunction >
typedef TDataIn ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::data_type

Constructor & Destructor Documentation

◆ DeltaSquareIntegrand() [1/2]

template<typename TDataIn , typename TGridFunction >
ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::DeltaSquareIntegrand ( SmartPtr< UserData< TDataIn, worldDim > >  spData,
const TGridFunction *  pGridFct1,
const TGridFunction *  pGridFct2,
number  time 
)
inline

◆ DeltaSquareIntegrand() [2/2]

template<typename TDataIn , typename TGridFunction >
ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::DeltaSquareIntegrand ( SmartPtr< UserData< TDataIn, worldDim > >  spData,
number  time 
)
inline

Member Function Documentation

◆ evaluate()

template<typename TDataIn , typename TGridFunction >
template<int elemDim>
void ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::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 
)
inline

◆ get_values()

template<typename TDataIn , typename TGridFunction >
template<int elemDim>
void ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::get_values ( TDataIn  vValue[],
ConstSmartPtr< UserData< TDataIn, worldDim > >  spData,
const TGridFunction &  gridFct,
const MathVector< worldDim vGlobIP[],
GridObject pElem,
const MathVector< worldDim vCornerCoords[],
const MathVector< elemDim >  vLocIP[],
const MathMatrix< elemDim, worldDim vJT[],
const size_t  numIP 
)
inline

◆ product() [1/2]

template<typename TDataIn , typename TGridFunction >
static number ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::product ( const MathVector< worldDim > &  x,
const MathVector< worldDim > &  y 
)
inlinestaticprivate

References ug::VecDot().

◆ product() [2/2]

template<typename TDataIn , typename TGridFunction >
static number ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::product ( const number x,
const number y 
)
inlinestaticprivate

Member Data Documentation

◆ m_pGridFct1

template<typename TDataIn , typename TGridFunction >
const TGridFunction* ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::m_pGridFct1
private

◆ m_pGridFct2

template<typename TDataIn , typename TGridFunction >
const TGridFunction* ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::m_pGridFct2
private

◆ m_spData

template<typename TDataIn , typename TGridFunction >
SmartPtr<UserData<TDataIn, worldDim> > ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::m_spData
private

◆ m_time

template<typename TDataIn , typename TGridFunction >
number ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::m_time
private

◆ worldDim

template<typename TDataIn , typename TGridFunction >
const int ug::DeltaSquareIntegrand< TDataIn, TGridFunction >::worldDim = TGridFunction::dim
static

The documentation for this class was generated from the following file: