Peano
Loading...
Searching...
No Matches
TestUtils.h File Reference
#include <vector>
#include "tarch/la/Vector.h"
#include "tarch/multicore/multicore.h"
#include "peano4/grid/GridControlEvent.h"
#include "peano4/utils/Globals.h"
Include dependency graph for TestUtils.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
 
namespace  exahype2::dg::tests
 

Functions

void exahype2::dg::tests::eulerFlux (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal, double *__restrict__ F)
 
void exahype2::dg::tests::eulerSource (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, double *__restrict__ S)
 
double exahype2::dg::tests::eulerEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
void exahype2::dg::tests::eulerBoundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
void exahype2::dg::tests::eulerInitial (double *__restrict__ Q, int node=0)
 
void exahype2::dg::tests::elasticInitial (double *__restrict__ Q)
 
void exahype2::dg::tests::elasticFlux (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal, double *__restrict__ F)
 
void exahype2::dg::tests::elasticSource (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, double *__restrict__ S)
 
double exahype2::dg::tests::elasticEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
void exahype2::dg::tests::elasticBoundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
void exahype2::dg::tests::elasticNonConservativeProduct (const double *__restrict__ Q, const double *__restrict__ deltaQ, const tarch::la::Vector< Dimensions, double > &faceCentre, double t, double dt, int normal, double *__restrict__ BgradQ)
 
void exahype2::dg::tests::testBoundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
void exahype2::dg::tests::secondTestBoundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 
double exahype2::dg::tests::testEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal)
 

Variables

constexpr double exahype2::dg::tests::QuadratureNodes1dP1 [] = { 0.21132486540518713,0.7886751345948129 }
 
constexpr double exahype2::dg::tests::QuadratureNodes1dP2 [] = { 0.1127016653792583,0.5,0.8872983346207417}
 
constexpr double exahype2::dg::tests::DerivativeOperatorLagrangeP3 []
 
constexpr double exahype2::dg::tests::BasisFunctionValuesLeftP0 []
 
constexpr double exahype2::dg::tests::BasisFunctionValuesLeftP3 []