Peano
Loading...
Searching...
No Matches
ContextCurvilinear< Shortcuts, basisSize, numberOfData, T > Class Template Reference

#include <ContextCurvilinear.h>

Public Member Functions

 ContextCurvilinear (std::string &topography_string, int coarsestMeshLevel, double coarsestMeshSize, double maxAdaptiveDepth, tarch::la::Vector< DIMENSIONS, double > _domainOffset, tarch::la::Vector< DIMENSIONS, double > _domainSize, T *_nodes, T *_dudx)
 
toolbox::curvi::Root * getRoot ()
 
 ~ContextCurvilinear ()
 
void initUnknownsPatch (T *luh, const tarch::la::Vector< DIMENSIONS, double > &center, const tarch::la::Vector< DIMENSIONS, double > &dx, double t, double dt, std::function< void(const T *const x, const tarch::la::Vector< DIMENSIONS, double > &center, const double t, const double dt, T *Q)> initUnknownsPointwise)
 
void correctPointSourceLocation (double pointSourceLocation[][3])
 
void getElementSize (const T *const luh, tarch::la::Vector< DIMENSIONS, double > &dx)
 
void getElementCenter (const T *const luh, tarch::la::Vector< DIMENSIONS, double > &center)
 
toolbox::curvi::Interface * getInterface ()
 

Data Fields

double max_dx
 

Protected Attributes

toolbox::curvi::Interface * interface
 
double nodes [basisSize]
 
double dudx [basisSize][basisSize]
 
double domainOffset [3]
 
const int meshLevel
 

Detailed Description

template<class Shortcuts, int basisSize, int numberOfData, typename T>
class ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >

Definition at line 12 of file ContextCurvilinear.h.

Constructor & Destructor Documentation

◆ ContextCurvilinear()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::ContextCurvilinear ( std::string & topography_string,
int coarsestMeshLevel,
double coarsestMeshSize,
double maxAdaptiveDepth,
tarch::la::Vector< DIMENSIONS, double > _domainOffset,
tarch::la::Vector< DIMENSIONS, double > _domainSize,
T * _nodes,
T * _dudx )

◆ ~ContextCurvilinear()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::~ContextCurvilinear ( )

Member Function Documentation

◆ correctPointSourceLocation()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
void ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::correctPointSourceLocation ( double pointSourceLocation[][3])

◆ getElementCenter()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
void ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::getElementCenter ( const T *const luh,
tarch::la::Vector< DIMENSIONS, double > & center )

Definition at line 236 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::initUnknownsPatch().

Here is the caller graph for this function:

◆ getElementSize()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
void ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::getElementSize ( const T *const luh,
tarch::la::Vector< DIMENSIONS, double > & dx )

Definition at line 212 of file ContextCurvilinear.h.

◆ getInterface()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
toolbox::curvi::Interface * ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::getInterface ( )

◆ getRoot()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
toolbox::curvi::Root * ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::getRoot ( )

Definition at line 60 of file ContextCurvilinear.h.

◆ initUnknownsPatch()

template<class Shortcuts , int basisSize, int numberOfData, typename T >
void ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::initUnknownsPatch ( T * luh,
const tarch::la::Vector< DIMENSIONS, double > & center,
const tarch::la::Vector< DIMENSIONS, double > & dx,
double t,
double dt,
std::function< void(const T *const x, const tarch::la::Vector< DIMENSIONS, double > &center, const double t, const double dt, T *Q)> initUnknownsPointwise )

Field Documentation

◆ domainOffset

template<class Shortcuts , int basisSize, int numberOfData, typename T >
double ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::domainOffset[3]
protected

◆ dudx

template<class Shortcuts , int basisSize, int numberOfData, typename T >
double ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::dudx[basisSize][basisSize]
protected

◆ interface

◆ max_dx

template<class Shortcuts , int basisSize, int numberOfData, typename T >
double ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::max_dx

◆ meshLevel

template<class Shortcuts , int basisSize, int numberOfData, typename T >
const int ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::meshLevel
protected

◆ nodes

template<class Shortcuts , int basisSize, int numberOfData, typename T >
double ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::nodes[basisSize]
protected

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