Peano
Loading...
Searching...
No Matches
toolbox::blockstructured::tests::IandRSecondOrderTest Class Reference

#include <IandRSecondOrderTest.h>

Inheritance diagram for toolbox::blockstructured::tests::IandRSecondOrderTest:
Collaboration diagram for toolbox::blockstructured::tests::IandRSecondOrderTest:

Public Member Functions

 IandRSecondOrderTest ()
 Cosntructor.
virtual ~IandRSecondOrderTest ()=default
 Destructor, empty.
virtual 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 compareInterpolateLinearCaseToTensorProduct ()
 The second order interpolation and restriction scheme is tested by comparing the results to the tensor product scheme.
void compareRestrictLinearCaseToTensorProduct ()

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.

Detailed Description

Definition at line 17 of file IandRSecondOrderTest.h.

Constructor & Destructor Documentation

◆ IandRSecondOrderTest()

toolbox::blockstructured::tests::IandRSecondOrderTest::IandRSecondOrderTest ( )

Cosntructor.

Definition at line 8 of file IandRSecondOrderTest.cpp.

References tarch::tests::TestCase::TestCase().

Here is the call graph for this function:

◆ ~IandRSecondOrderTest()

virtual toolbox::blockstructured::tests::IandRSecondOrderTest::~IandRSecondOrderTest ( )
virtualdefault

Destructor, empty.

Member Function Documentation

◆ compareInterpolateLinearCaseToTensorProduct()

void toolbox::blockstructured::tests::IandRSecondOrderTest::compareInterpolateLinearCaseToTensorProduct ( )
private

The second order interpolation and restriction scheme is tested by comparing the results to the tensor product scheme.

Definition at line 16 of file IandRSecondOrderTest.cpp.

References peano4::datamanagement::FaceMarker::getRelativePositionWithinFatherFace(), toolbox::blockstructured::interpolateHaloLayer_AoS_second_order(), toolbox::blockstructured::interpolateHaloLayer_AoS_tensor_product(), peano4::grid::GridTraversalEvent::setRelativePositionToFather(), and validateNumericalEqualsWithEpsWithParams3.

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compareRestrictLinearCaseToTensorProduct()

void toolbox::blockstructured::tests::IandRSecondOrderTest::compareRestrictLinearCaseToTensorProduct ( )
private

◆ run()

void toolbox::blockstructured::tests::IandRSecondOrderTest::run ( )
overridevirtual

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

Definition at line 11 of file IandRSecondOrderTest.cpp.

References compareInterpolateLinearCaseToTensorProduct(), compareRestrictLinearCaseToTensorProduct(), and testMethod.

Here is the call graph for this function:

The documentation for this class was generated from the following files: