Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
eea0d1ed
Commit
eea0d1ed
authored
Nov 30, 2020
by
Steffen Schotthöfer
Browse files
changed test result path for cfg files
parent
78f5f8ed
Changes
15
Hide whitespace changes
Inline
Side-by-side
code/tests/input/checkerboard_MN.cfg
View file @
eea0d1ed
...
...
@@ -6,9 +6,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_checkerboard_MN
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = checkerboard.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/checkerboard_PN.cfg
View file @
eea0d1ed
...
...
@@ -6,9 +6,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_checkerboard_PN
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = checkerboard.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/checkerboard_SN.cfg
View file @
eea0d1ed
...
...
@@ -6,9 +6,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_checkerboard_SN
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = checkerboard.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/image_conversion.cfg
View file @
eea0d1ed
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = ctscan_test
LOG_DIR = ../../result/logs
MESH_FILE = ../../result/ctscan_test.su2
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = ../../
tests/
result/ctscan_test.su2
% ---- Solver specifications ----
CFL_NUMBER = 0.5
...
...
code/tests/input/linesource_MN_MB.cfg
View file @
eea0d1ed
...
...
@@ -6,9 +6,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_linesource_MN_MB
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = linesource.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/linesource_MN_Quad.cfg
View file @
eea0d1ed
...
...
@@ -6,9 +6,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_linesource_MN_Quad
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = linesource.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/linesource_PN.cfg
View file @
eea0d1ed
...
...
@@ -5,9 +5,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_linesource_PN
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = linesource.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/linesource_SN.cfg
View file @
eea0d1ed
...
...
@@ -5,9 +5,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_linesource_SN
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = linesource.su2
%
% ---- Problem specifications ----
...
...
code/tests/input/unit_harmonics.cfg
View file @
eea0d1ed
...
...
@@ -9,9 +9,9 @@
% Use this config file ONLY for test_harmonics.cpp!
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_unit_harmonics
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
% ---- Boundary Conditions ----
QUAD_TYPE = GAUSS_LEGENDRE_TENSORIZED
...
...
code/tests/input/unit_kernel.cfg
View file @
eea0d1ed
...
...
@@ -11,9 +11,9 @@
%
% ---- File specifications ----
%
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_unit_kernel
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
%
% ---- Quadrature Settings ----
QUAD_TYPE = LEBEDEV
...
...
code/tests/input/unit_mesh.cfg
View file @
eea0d1ed
...
...
@@ -10,9 +10,9 @@
% Only specify options that are important for this unit test!
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_unit_mesh
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
MESH_FILE = unit_mesh.su2
%
% ---- Boundary Conditions ----
...
...
code/tests/input/unit_optimizerNewton.cfg
View file @
eea0d1ed
...
...
@@ -10,9 +10,9 @@
% Only specify options that are important for this unit test!
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_unit_optimizerNewton
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
%
% ---- Solver specifications ----
%
...
...
code/tests/input/unit_quadrature.cfg
View file @
eea0d1ed
...
...
@@ -10,9 +10,9 @@
% Only specify options that are important for this unit test!
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = rtsn_test_unit_harmonics
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
% ---- Boundary Conditions ----
% This is just a dummy value!
...
...
code/tests/input/validate_logger.cfg
View file @
eea0d1ed
...
...
@@ -5,9 +5,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% ---- File specifications ----
OUTPUT_DIR = ../../result
OUTPUT_DIR = ../../
tests/
result
OUTPUT_FILE = validate_screen_output
LOG_DIR = ../../result/logs
LOG_DIR = ../../
tests/
result/logs
LOG_FILE = validate_logger_output
MESH_FILE = linesource.su2
%
...
...
code/tests/test_cases.cpp
View file @
eea0d1ed
...
...
@@ -38,7 +38,7 @@ TEST_CASE( "checkerboard_SN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_checkerboard_SN.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_checkerboard_SN.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/checkerboard_SN_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -56,7 +56,7 @@ TEST_CASE( "checkerboard_PN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_checkerboard_PN.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_checkerboard_PN.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/checkerboard_PN_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -74,7 +74,7 @@ TEST_CASE( "checkerboard_MN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_checkerboard_MN.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_checkerboard_MN.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/checkerboard_MN_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -92,7 +92,7 @@ TEST_CASE( "linesource_SN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_linesource_SN.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_linesource_SN.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/linesource_SN_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -110,7 +110,7 @@ TEST_CASE( "linesource_PN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_linesource_PN.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_linesource_PN.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/linesource_PN_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -131,7 +131,7 @@ TEST_CASE( "linesource_MN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_linesource_MN_Quad.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_linesource_MN_Quad.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/linesource_MN_Quad_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -150,7 +150,7 @@ TEST_CASE( "linesource_MN", "[validation_tests]" ) {
solver
->
Solve
();
solver
->
PrintVolumeOutput
();
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"
../
result/rtsn_test_linesource_MN_MB.vtk"
);
auto
test
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"result/rtsn_test_linesource_MN_MB.vtk"
);
auto
reference
=
readVTKFile
(
std
::
string
(
TESTS_PATH
)
+
"input/linesource_MN_MB_reference.vtk"
);
double
eps
=
1e-3
;
...
...
@@ -178,9 +178,9 @@ TEST_CASE( "screen_output", "[output]" ) {
std
::
string
config_file_name
=
std
::
string
(
TESTS_PATH
)
+
"input/validate_logger.cfg"
;
std
::
string
screenLoggerReference
=
std
::
string
(
TESTS_PATH
)
+
"input/validate_logger_reference"
;
std
::
string
screenLogger
=
std
::
string
(
TESTS_PATH
)
+
"
../
result/logs/validate_logger_output"
;
std
::
string
screenLogger
=
std
::
string
(
TESTS_PATH
)
+
"result/logs/validate_logger_output"
;
std
::
string
historyLoggerReference
=
std
::
string
(
TESTS_PATH
)
+
"input/validate_logger_csv_reference"
;
std
::
string
historyLogger
=
std
::
string
(
TESTS_PATH
)
+
"
../
result/logs/validate_logger_output_csv"
;
std
::
string
historyLogger
=
std
::
string
(
TESTS_PATH
)
+
"result/logs/validate_logger_output_csv"
;
Config
*
config
=
new
Config
(
config_file_name
);
Solver
*
solver
=
Solver
::
Create
(
config
);
...
...
jannick.wolters
@jm2154
mentioned in commit
8fa67d99
·
Apr 30, 2021
mentioned in commit
8fa67d99
mentioned in commit 8fa67d99b291ab30ce4fce9937cc262b823b6027
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment