|
Peano
|
Test exahype2::blockstructured::applyDirichletBoundaryConditions() More...
#include <DirichletBoundaryConditionsTest.h>


Public Member Functions | |
| DirichletBoundaryConditionsTest () | |
| void | run () override |
| This routine is triggered by the TestCaseCollection. | |
Public Member Functions inherited from tarch::tests::TestCase | |
| TestCase (const std::string &testCaseName) | |
| Constructor. | |
| virtual | ~TestCase () |
| Destructor. | |
| int | getNumberOfErrors () const |
| std::string | getTestCaseName () const |
Private Member Functions | |
| void | testLowerBoundary () |
| Face on the lower boundary along each axis: the left half of the face is set, layer 0 adjacent to the face, the right half is untouched. | |
| void | testUpperBoundary () |
| Face on the upper boundary along each axis: the right half of the face is set, the left half is untouched. | |
| void | testPeriodicBoundaryIsSkipped () |
| Boundary faces along periodic axes are left unchanged. | |
| void | testInteriorFaceIsSkipped () |
| Faces within the domain are left unchanged. | |
Additional Inherited Members | |
Protected Member Functions inherited from tarch::tests::TestCase | |
| TestCase ()=delete | |
Protected Attributes inherited from tarch::tests::TestCase | |
| const std::string | _testCaseName |
| Name of the test case. | |
| int | _errors |
| Error counter. | |
| bool | _error |
| Indicate within macro if one specific validation failed. | |
Test exahype2::blockstructured::applyDirichletBoundaryConditions()
All tests work over the unit square/cube with patches of three grid cells per axis, an overlap of two, and three doubles per grid cell. The boundary condition functor stores the ghost cell's position along the face normal, its position along the next axis, and the time stamp, so the tests can validate where the routine has placed each ghost cell. Entries the routine is not supposed to touch are initialised with a marker value and have to keep it.
Definition at line 29 of file DirichletBoundaryConditionsTest.h.
| exahype2::blockstructured::tests::DirichletBoundaryConditionsTest::DirichletBoundaryConditionsTest | ( | ) |
|
overridevirtual |
This routine is triggered by the TestCaseCollection.
Implements tarch::tests::TestCase.
|
private |
Faces within the domain are left unchanged.
|
private |
Face on the lower boundary along each axis: the left half of the face is set, layer 0 adjacent to the face, the right half is untouched.
|
private |
Boundary faces along periodic axes are left unchanged.
|
private |
Face on the upper boundary along each axis: the right half of the face is set, the left half is untouched.