![]() |
Peano
|
#include <DGUtilsTest.h>
Public Member Functions | |
DGUtilsTest () | |
virtual | ~DGUtilsTest ()=default |
void | run () override |
This routine is triggered by the TestCaseCollection. | |
![]() | |
TestCase (const std::string &testCaseName) | |
Constructor. | |
virtual | ~TestCase () |
Destructor. | |
int | getNumberOfErrors () const |
std::string | getTestCaseName () const |
Private Member Functions | |
void | testGetIndex () |
void | testComputeGradientOnConstantSolution () |
void | testEvaluatePolynomialOrder1 () |
void | testEvaluatePolynomialOrder2 () |
Additional Inherited Members | |
![]() | |
TestCase ()=delete | |
![]() | |
const std::string | _testCaseName |
Name of the test case. | |
int | _errors |
Error counter. | |
bool | _error |
Indicate within macro if one specific validation failed. | |
Definition at line 18 of file DGUtilsTest.h.
exahype2::dg::tests::DGUtilsTest::DGUtilsTest | ( | ) |
Definition at line 12 of file DGUtilsTest.cpp.
|
virtualdefault |
|
overridevirtual |
This routine is triggered by the TestCaseCollection.
Implements tarch::tests::TestCase.
Definition at line 17 of file DGUtilsTest.cpp.
References testMethod.
|
private |
Definition at line 149 of file DGUtilsTest.cpp.
References exahype2::dg::computeGradient(), exahype2::dg::tests::DerivativeOperatorLagrangeP3, exahype2::dg::getNodesPerCell(), and validateNumericalEquals.
|
private |
Definition at line 25 of file DGUtilsTest.cpp.
References exahype2::dg::evaluatePolynomial(), exahype2::dg::tests::QuadratureNodes1dP1, peano4::grid::GridTraversalEvent::setH(), peano4::grid::GridTraversalEvent::setX(), peano4::datamanagement::CellMarker::toString(), and validateNumericalEqualsWithParams1.
|
private |
Definition at line 71 of file DGUtilsTest.cpp.
References exahype2::dg::evaluatePolynomial(), exahype2::dg::tests::QuadratureNodes1dP1, exahype2::dg::tests::QuadratureNodes1dP2, peano4::grid::GridTraversalEvent::setH(), peano4::grid::GridTraversalEvent::setX(), peano4::datamanagement::CellMarker::toString(), and validateNumericalEqualsWithParams1.
|
private |
Definition at line 127 of file DGUtilsTest.cpp.
References exahype2::dg::getIndex(), exahype2::dg::getNodesPerCell(), exahype2::dg::getStrides(), and validateEquals.