Peano
Loading...
Searching...
No Matches
InterpolationTest.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
#include "
tarch/tests/TestCase.h
"
6
#include "
tarch/logging/Log.h
"
7
8
namespace
toolbox
{
9
namespace
blockstructured {
10
namespace
tests
{
11
class
InterpolationTest;
12
}
13
}
14
}
15
16
17
class
toolbox::blockstructured::tests::InterpolationTest
:
public
tarch::tests::TestCase
{
18
private
:
19
43
void
testRestrictHaloLayer_AoS_averaging
();
44
45
void
testRestrictCellForBreakingDam
();
46
50
void
testInterpolateCellDataAssociatedToVolumesIntoOverlappingCell_linear
();
51
65
void
testHangingFacesForAnyOverlap
();
66
75
void
testCellInterpolation
();
76
77
public
:
78
82
InterpolationTest
();
83
87
virtual
~InterpolationTest
() =
default
;
88
92
virtual
void
run
()
override
;
93
};
94
Log.h
TestCase.h
tarch::tests::TestCase
Represents one test case.
Definition
TestCase.h:57
toolbox::blockstructured::tests::InterpolationTest
Definition
InterpolationTest.h:17
toolbox::blockstructured::tests::InterpolationTest::testInterpolateCellDataAssociatedToVolumesIntoOverlappingCell_linear
void testInterpolateCellDataAssociatedToVolumesIntoOverlappingCell_linear()
Trivial interpolation test for constant data.
toolbox::blockstructured::tests::InterpolationTest::InterpolationTest
InterpolationTest()
Cosntructor.
toolbox::blockstructured::tests::InterpolationTest::run
virtual void run() override
This routine is triggered by the TestCaseCollection.
toolbox::blockstructured::tests::InterpolationTest::testHangingFacesForAnyOverlap
void testHangingFacesForAnyOverlap()
Interpolate onto hanging faces and restrict from them for overlaps of one, two and three.
toolbox::blockstructured::tests::InterpolationTest::testRestrictCellForBreakingDam
void testRestrictCellForBreakingDam()
toolbox::blockstructured::tests::InterpolationTest::~InterpolationTest
virtual ~InterpolationTest()=default
Destructor, empty.
toolbox::blockstructured::tests::InterpolationTest::testCellInterpolation
void testCellInterpolation()
Interpolate a coarse patch into its 3^d children.
toolbox::blockstructured::tests::InterpolationTest::testRestrictHaloLayer_AoS_averaging
void testRestrictHaloLayer_AoS_averaging()
tests
Definition
Scenario.h:8
toolbox
Definition
InterpolationRestriction.h:10
src
toolbox
blockstructured
tests
InterpolationTest.h
Generated on Tue Nov 3 2026 16:05:42 for Peano by
1.9.8