Peano
Loading...
Searching...
No Matches
DGUtils.h File Reference
Include dependency graph for DGUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  exahype2
 For the generic kernels that I use here most of the time.
 
namespace  exahype2::dg
 

Functions

template<typename T >
tarch::la::Vector< Dimensions, doubleexahype2::dg::getQuadraturePoint (const tarch::la::Vector< Dimensions, double > &cellCentre, const tarch::la::Vector< Dimensions, double > &cellSize, const tarch::la::Vector< Dimensions, int > &index, int polynomialOrder, const T *__restrict__ quadraturePoints)
 Construct location of a quadrature point.
 
double exahype2::dg::getQuadratureWeight (const tarch::la::Vector< 3, double > &cellSize, const tarch::la::Vector< 3, int > &index, const double *__restrict__ quadratureWeights)
 Compute integral over shape function over cell defined by index.
 
int exahype2::dg::getNodesPerCell (int nodesPerAxis)
 The number of nodes in a cell is basically the input to the power of d.
 
tarch::la::Vector< Dimensions, intexahype2::dg::getStrides (int nodesPerAxis)
 
tarch::la::Vector< Dimensions, intexahype2::dg::getIndex (int node, tarch::la::Vector< Dimensions, int > strides)
 
int exahype2::dg::cellIndexToHullIndex (const tarch::la::Vector< Dimensions, int > &indexCell, const int direction, const int orientation, const int nodesPerAxis)
 
void exahype2::dg::computeGradient (const double *__restrict__ const QCell, const double *__restrict__ const derivativeOperator, const double invDx, const int nodesPerAxis, const int strideQ, const int scalarIndex, double *__restrict__ gradQ)
 
void exahype2::dg::subtractCell (double *__restrict__ QOut, const double *__restrict__ Qsubstract, const int order, const int unknowns, const int auxiliaryVariables)
 
std::string exahype2::dg::plotCell (const double *__restrict__ Q, const int order, const int unknowns, const int auxiliaryVariables)
 
std::string exahype2::dg::plotFace (const double *__restrict__ Q, const int order, const int unknowns, const int auxiliaryVariables, int normal, int numberOfQuantitiesProjectedOntoFace)
 
template<typename QStoreType >
QStoreType exahype2::dg::evaluatePolynomial (const peano4::datamanagement::CellMarker &marker, int order, const double *__restrict__ QuadratureNodes1d, int unknownsPerDoF, const QStoreType *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int unknown)
 Evaluate the DG polynomial.
 
void exahype2::dg::copyOneSideOfFaceProjection (int unknownsPlusAuxiliaryVariables, int order, int numberOfProjectedQuantities, int normal, int isRightFaceHalf, const double *__restrict__ srcQ, double *__restrict__ destQ)
 Delegate to PatchUtils of the Finite Volume scheme.