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 )

Definition at line 15 of file ContextCurvilinear.h.

References domainOffset, dudx, interface, max_dx, meshLevel, and nodes.

◆ ~ContextCurvilinear()

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

Definition at line 62 of file ContextCurvilinear.h.

References interface.

Member Function Documentation

◆ correctPointSourceLocation()

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

Definition at line 197 of file ContextCurvilinear.h.

References interface.

◆ 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 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 ( )

Definition at line 254 of file ContextCurvilinear.h.

References interface.

◆ 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.

References getRoot(), and interface.

Referenced by getRoot().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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

Definition at line 267 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear(), and initUnknownsPatch().

◆ dudx

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

Definition at line 265 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear(), and initUnknownsPatch().

◆ interface

template<class Shortcuts, int basisSize, int numberOfData, typename T>
toolbox::curvi::Interface* ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >::interface
protected

◆ max_dx

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

Definition at line 259 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear().

◆ meshLevel

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

Definition at line 268 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear(), and initUnknownsPatch().

◆ nodes

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

Definition at line 264 of file ContextCurvilinear.h.

Referenced by ContextCurvilinear(), and initUnknownsPatch().


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