![]() |
Peano
|
#include <IandRInMatricesTest.h>
Public Member Functions | |
IandRInMatricesTest () | |
Cosntructor. | |
virtual | ~IandRInMatricesTest ()=default |
Destructor, empty. | |
virtual 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 | compareInterpolateLinearCaseToTensorProductPatch () |
The matrix interpolation and restriction scheme is tested by comparing the results to the tensor product scheme. | |
void | compareRestrictLinearCaseToTensorProductPatch () |
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 17 of file IandRInMatricesTest.h.
toolbox::blockstructured::tests::IandRInMatricesTest::IandRInMatricesTest | ( | ) |
Cosntructor.
Definition at line 10 of file IandRInMatricesTest.cpp.
|
virtualdefault |
Destructor, empty.
|
private |
The matrix interpolation and restriction scheme is tested by comparing the results to the tensor product scheme.
Definition at line 18 of file IandRInMatricesTest.cpp.
References tarch::freeMemory(), peano4::datamanagement::FaceMarker::getRelativePositionWithinFatherCell(), tarch::Heap, toolbox::blockstructured::interpolateHaloLayer_AoS_matrix(), toolbox::blockstructured::interpolateHaloLayer_AoS_tensor_product(), peano4::grid::GridTraversalEvent::setRelativePositionToFather(), and validateNumericalEqualsWithEpsWithParams2.
|
private |
Definition at line 1078 of file IandRInMatricesTest.cpp.
References tarch::freeMemory(), peano4::datamanagement::FaceMarker::getRelativePositionWithinFatherCell(), tarch::Heap, toolbox::blockstructured::restrictHaloLayer_AoS_matrix(), toolbox::blockstructured::restrictHaloLayer_AoS_tensor_product(), peano4::grid::GridTraversalEvent::setRelativePositionToFather(), and validateNumericalEqualsWithEpsWithParams3.
|
overridevirtual |
This routine is triggered by the TestCaseCollection.
Implements tarch::tests::TestCase.
Definition at line 13 of file IandRInMatricesTest.cpp.
References testMethod.