|
OpenWalnut
1.2.5
|
Test basic functionality of WDataSetVector. More...
#include <WDataSetVector_test.h>
Inheritance diagram for WDataSetVectorTest:Public Member Functions | |
| void | setUp (void) |
| Constructs unit test environment. | |
| void | testInterpolate (void) |
| An interpolate of an vector is as if every components were interpolated. | |
| void | testEigenVectorInterpolate (void) |
| Checks if the reorientation of the vectors is applied in eigenVectorInterpolate(). | |
| void | testBoundary_ticket313 (void) |
| Using interpolate on Positions on the boundary of the grid the success flag is true but there should not be any segfaults. | |
Test basic functionality of WDataSetVector.
Definition at line 40 of file WDataSetVector_test.h.
|
inline |
Constructs unit test environment.
Definition at line 46 of file WDataSetVector_test.h.
References WLogger::startup().
|
inline |
Using interpolate on Positions on the boundary of the grid the success flag is true but there should not be any segfaults.
See ticket #313 for more informations.
Definition at line 185 of file WDataSetVector_test.h.
References WDataSetVector::interpolate().
|
inline |
Checks if the reorientation of the vectors is applied in eigenVectorInterpolate().
v_6( 1, 0, 0 ) v_7( 1, 0, 0 )
/----------------------------/
z A /| /|
| / | / |
|/ | / |
/---+------------------------/ |
v_4( 1, 0, 0 ) v_5( 1, 0, 0 )
| | | |
| | | |
| | | |
| | y | |
| | / | |
| | / | |
| | / | |
| | v_2( 1, 0, 0 ) | | v_3( 1, 0, 0 )
| /------------------------+---/
| / | /
| / | /
|/ |/
/----------------------------/------------------> x
v_0( -1, 0, 0) v_1( 1, 0, 0 )
Definition at line 137 of file WDataSetVector_test.h.
References WDataSetVector::eigenVectorInterpolate(), and WDataSetVector::interpolate().
|
inline |
An interpolate of an vector is as if every components were interpolated.
Definition at line 54 of file WDataSetVector_test.h.
References WDataSetVector::interpolate().
1.8.1