Commit 0b670e7b authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[vtk][test] Start vtk numbering with 0

this means
* the first vtk (normally the initial solution) is *-00000.vtu
* if all timesteps are writen the time step number and vtk number correspond
parent 94d87c07
......@@ -122,10 +122,7 @@ public:
startMultiFile_(multiFileName_);
}
curWriter_ = std::make_shared<VtkWriter>(gridView_, Dune::VTK::conforming);
++curWriterNum_;
curTime_ = t;
curOutFileName_ = fileName_();
}
......@@ -243,9 +240,9 @@ public:
void endWrite(bool onlyDiscard = false)
{
if (!onlyDiscard) {
++curWriterNum_;
curWriter_->write(curOutFileName_.c_str(), OutputValue);
// determine name to write into the multi-file for the
// current time step
std::string fileName;
......@@ -269,10 +266,7 @@ public:
<< " file=\"" << fileName << "." << suffix << "\"/>\n";
}
}
}
else
-- curWriterNum_;
// discard managed objects
while (managedObjects_.begin() != managedObjects_.end()) {
......
......@@ -4,21 +4,21 @@ add_dumux_test(test_general_box test_general test_generalproblem2p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/generallens_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_box-00003.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_box-00002.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_general -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_generalproblem2p_reference.input -ModelType box")
add_dumux_test(test_general_cc test_general test_generalproblem2p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/generallens_cc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_cc-00003.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_cc-00002.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_general -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_generalproblem2p_reference.input -ModelType cc")
add_dumux_test(test_general_dec test_general test_generalproblem2p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/generallens_sequential-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_sequential-00003.vtu
${CMAKE_CURRENT_BINARY_DIR}/generallens_sequential-00002.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_general -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_generalproblem2p_reference.input -ModelType sequential")
#install sources
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_navierstokes test_navierstokes test_navierstokes.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_navierstokes"
--files ${CMAKE_SOURCE_DIR}/test/references/navierstokes-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/navierstokes-00008.vtu)
${CMAKE_CURRENT_BINARY_DIR}/navierstokes-00007.vtu)
#install sources
install(FILES
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_stokes test_stokes test_stokes.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes"
--files ${CMAKE_SOURCE_DIR}/test/references/stokes-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes-00014.vtu)
${CMAKE_CURRENT_BINARY_DIR}/stokes-00013.vtu)
#install sources
install(FILES
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_stokes2c test_stokes2c test_stokes2c.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2c"
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2c-00007.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2c-00006.vtu
--zeroThreshold {"v":1e-9})
add_dumux_test(test_stokes2c_diffusion test_stokes2c test_stokes2c.cc
......@@ -13,7 +13,7 @@ add_dumux_test(test_stokes2c_diffusion test_stokes2c test_stokes2c.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2c -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_stokes2c_diffusion.input"
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2c_diffusion-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2c_diffusion-00020.vtu)
${CMAKE_CURRENT_BINARY_DIR}/stokes2c_diffusion-00019.vtu)
#install sources
install(FILES
......
......@@ -5,14 +5,14 @@ add_dumux_test(test_stokes2cni test_stokes2cni test_stokes2cni.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni"
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni-00008.vtu)
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni-00007.vtu)
add_dumux_test(test_stokes2cni_conduction test_stokes2cni test_stokes2cni.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_stokes2cni_conduction.input"
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni_conduction-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni_conduction-00008.vtu)
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni_conduction-00007.vtu)
#install sources
install(FILES
......
......@@ -5,14 +5,14 @@ add_dumux_test(test_zeroeq test_zeroeq test_zeroeq.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_zeroeq"
--files ${CMAKE_SOURCE_DIR}/test/references/zeroeq-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq-00006.vtu)
${CMAKE_CURRENT_BINARY_DIR}/zeroeq-00005.vtu)
add_dumux_test(test_zeroeq_channel test_zeroeq_channel test_zeroeq_channel.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_zeroeq_channel"
--files ${CMAKE_SOURCE_DIR}/test/references/zeroeqchannel-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeqchannel-00022.vtu)
${CMAKE_CURRENT_BINARY_DIR}/zeroeqchannel-00021.vtu)
#install sources
install(FILES
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_zeroeq2c test_zeroeq2c test_zeroeq2c.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_zeroeq2c"
--files ${CMAKE_SOURCE_DIR}/test/references/zeroeq2c-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2c-00013.vtu)
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2c-00012.vtu)
#install sources
install(FILES
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_zeroeq2cni test_zeroeq2cni test_zeroeq2cni.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_zeroeq2cni"
--files ${CMAKE_SOURCE_DIR}/test/references/zeroeq2cni-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2cni-00011.vtu)
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2cni-00010.vtu)
#install sources
install(FILES
......
......@@ -4,7 +4,7 @@ add_dumux_test(test_el1p2c test_el1p2c test_el1p2c.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/el1p2c-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/el1p2c-00015.vtu
${CMAKE_CURRENT_BINARY_DIR}/el1p2c-00014.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_el1p2c")
#install sources
......
......@@ -4,7 +4,7 @@ add_dumux_test(test_el2p test_el2p test_el2p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/el2p-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/el2p-00048.vtu
${CMAKE_CURRENT_BINARY_DIR}/el2p-00047.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_el2p")
if(MPI_FOUND)
......@@ -12,7 +12,7 @@ if(MPI_FOUND)
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/el2p-parallel-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/s0004-p0001-el2p-00048.vtu
${CMAKE_CURRENT_BINARY_DIR}/s0004-p0001-el2p-00047.vtu
--command "${MPIEXEC} -np 4 ${CMAKE_CURRENT_BINARY_DIR}/test_el2p")
endif()
......
......@@ -4,7 +4,7 @@ add_dumux_test(test_elastic test_elastic test_elastic.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/elasticmatrix-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/elasticmatrix-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/elasticmatrix-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_elastic"
--zeroThreshold {"uy":1e-15,"uz":1e-15,"stress X":1e-8,"stress Y":1e-8,"stress Z":1e-8})
......
......@@ -5,9 +5,9 @@ add_dumux_test(test_2cnistokes2p2cni test_2cnistokes2p2cni test_2cnistokes2p2cni
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2cnistokes2p2cni -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cnistokes2p2cni_reference.input"
--files ${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cni-ff-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni-00008.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni-00007.vtu
${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cni-pm-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2cni-00008.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2cni-00007.vtu
--zeroThreshold {"v":1e-7,"velocityN_0":5e-11,"velocityW_0":5e-10,"velocityW_1":5e-9})
add_dumux_test(test_2cnistokes2p2cni_boundarylayer test_2cnistokes2p2cni test_2cnistokes2p2cni.cc
......@@ -15,9 +15,9 @@ add_dumux_test(test_2cnistokes2p2cni_boundarylayer test_2cnistokes2p2cni test_2c
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2cnistokes2p2cni -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cnistokes2p2cni_boundarylayer.input"
--files ${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cniboundarylayer-ff-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni_boundarylayer-00009.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2cni_boundarylayer-00008.vtu
${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cniboundarylayer-pm-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2cni_boundarylayer-00009.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2cni_boundarylayer-00008.vtu
--zeroThreshold {"v":1e-7,"velocityN_0":5e-11,"velocityW_0":1e-9,"velocityW_1":5e-9})
#install sources
......
......@@ -7,9 +7,9 @@ add_dumux_test(test_2cnizeroeq2p2cni test_2cnizeroeq2p2cni test_2cnizeroeq2p2cni
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2cnizeroeq2p2cni -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cnizeroeq2p2cni_reference.input"
--files ${CMAKE_SOURCE_DIR}/test/references/2cnizeroeq2p2cni-ff-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2cni-00008.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2cni-00007.vtu
${CMAKE_SOURCE_DIR}/test/references/2cnizeroeq2p2cni-pm-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2cni-00008.vtu)
${CMAKE_CURRENT_BINARY_DIR}/2p2cni-00007.vtu)
#install sources
install(FILES
......
......@@ -5,9 +5,9 @@ add_dumux_test(test_2cstokes2p2c test_2cstokes2p2c test_2cstokes2p2c.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2cstokes2p2c -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2cstokes2p2c_reference.input"
--files ${CMAKE_SOURCE_DIR}/test/references/2cstokes2p2c-ff-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2c-00008.vtu
${CMAKE_CURRENT_BINARY_DIR}/stokes2c-00007.vtu
${CMAKE_SOURCE_DIR}/test/references/2cstokes2p2c-pm-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2c-00008.vtu)
${CMAKE_CURRENT_BINARY_DIR}/2p2c-00007.vtu)
#install sources
install(FILES
......
......@@ -5,9 +5,9 @@ add_dumux_test(test_2czeroeq2p2c test_2czeroeq2p2c test_2czeroeq2p2c.cc
--script fuzzy
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2czeroeq2p2c -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_2czeroeq2p2c_reference.input"
--files ${CMAKE_SOURCE_DIR}/test/references/2czeroeq2p2c-ff-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2c-00029.vtu
${CMAKE_CURRENT_BINARY_DIR}/zeroeq2c-00028.vtu
${CMAKE_SOURCE_DIR}/test/references/2czeroeq2p2c-pm-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/2p2c-00029.vtu)
${CMAKE_CURRENT_BINARY_DIR}/2p2c-00028.vtu)
#install sources
install(FILES
......
......@@ -8,28 +8,28 @@ add_dumux_test(test_box1p test_box1p test_box1p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestbox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p")
add_dumux_test(test_box1pwithamg test_box1pwithamg test_box1pwithamg.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestbox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestboxwithamg-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestboxwithamg-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1pwithamg")
add_dumux_test(test_cc1p test_cc1p test_cc1p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestcc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p")
add_dumux_test(test_cc1pwithamg test_cc1pwithamg test_cc1pwithamg.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestcc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestccwithamg-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestccwithamg-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1pwithamg")
add_dumux_test(test_cc1pwithgstat test_cc1pwithgstat test_cc1pwithgstat.cc
......@@ -40,7 +40,7 @@ add_dumux_test(test_box1pniconduction test_box1pniconduction test_box1pniconduct
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniboxconduction-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1pniconduction-00007.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1pniconduction-00006.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1pniconduction"
--zeroThreshold {"velocity":1e-8})
......@@ -48,7 +48,7 @@ add_dumux_test(test_box1pniconvection test_box1pniconvection test_box1pniconvect
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniboxconvection-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1pniconvection-00011.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1pniconvection-00010.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1pniconvection"
--zeroThreshold {"velocity":1e-16})
......@@ -56,7 +56,7 @@ add_dumux_test(test_cc1pniconduction test_cc1pniconduction test_cc1pniconduction
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniccconduction-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1pniconduction-00007.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1pniconduction-00006.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1pniconduction"
--zeroThreshold {"velocity":1e-8})
......@@ -64,7 +64,7 @@ add_dumux_test(test_cc1pniconvection test_cc1pniconvection test_cc1pniconvection
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniccconvection-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1pniconvection-00011.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1pniconvection-00010.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1pniconvection")
# dim < dimWorld tests with foamgrid
......@@ -72,28 +72,28 @@ add_dumux_test(test_box1p1d3d test_box1p1d3d test_box1p1d3d.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestbox1d3d-reference.vtp
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox1d3d-00002.vtp
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox1d3d-00001.vtp
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p1d3d")
add_dumux_test(test_box1p2d3d test_box1p2d3d test_box1p2d3d.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestbox2d3d-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox2d3d-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestbox2d3d-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p2d3d")
add_dumux_test(test_cc1p1d3d test_cc1p1d3d test_cc1p1d3d.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestcc1d3d-reference.vtp
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc1d3d-00002.vtp
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc1d3d-00001.vtp
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p1d3d")
add_dumux_test(test_cc1p2d3d test_cc1p2d3d test_cc1p2d3d.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1ptestcc2d3d-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc2d3d-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1ptestcc2d3d-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p2d3d")
......
......@@ -4,21 +4,21 @@ add_dumux_test(test_cc1p_pointsources test_cc1p_pointsources test_cc1p_pointsour
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1psingularitycc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitycc-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitycc-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p_pointsources")
add_dumux_test(test_cc1p_pointsources_timedependent test_cc1p_pointsources_timedependent test_cc1p_pointsources_timedependent.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1psingularitycctimedependent-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitycctimedependent-00004.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitycctimedependent-00003.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p_pointsources_timedependent -ParameterFile test_cc1p_pointsources.input -TimeManager.TEnd 4 -Problem.Name 1psingularitycctimedependent")
add_dumux_test(test_box1p_pointsources test_box1p_pointsources test_box1p_pointsources.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1psingularitybox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitybox-00002.vtu
${CMAKE_CURRENT_BINARY_DIR}/1psingularitybox-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p_pointsources")
......
......@@ -4,25 +4,25 @@ add_dumux_test(test_dec1p test_dec1p test_1p.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_1p-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_1p-00001.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_1p-00000.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_dec1p -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_1p.input")
add_dumux_test(test_diffusion test_diffusion test_diffusion.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/diffusion-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/mimeticdiffusion-00001.vtu
${CMAKE_CURRENT_BINARY_DIR}/mimeticdiffusion-00000.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_diffusion 3")
add_dumux_test(test_diffusion3d test_diffusion3d test_diffusion3d.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fv-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00001.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00000.vtu
${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fvmpfal-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fvmpfal-00001.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fvmpfal-00000.vtu
${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_mimetic-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_mimetic-00001.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_mimetic-00000.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_diffusion3d_reference.input")
#install sources
......
......@@ -5,7 +5,7 @@ add_dumux_test(test_box1p2c test_box1p2c test_box1p2c.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/outflowbox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/outflowbox-00010.vtu
${CMAKE_CURRENT_BINARY_DIR}/outflowbox-00009.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p2c"
--zeroThreshold {"velocity":5e-16})
......@@ -13,7 +13,7 @@ add_dumux_test(test_cc1p2c test_cc1p2c test_cc1p2c.cc
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/outflowcc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/outflowcc-00010.vtu
${CMAKE_CURRENT_BINARY_DIR}/outflowcc-00009.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p2c"
--zeroThreshold {"velocity":5e-16})
......@@ -22,7 +22,7 @@ add_dumux_test(test_box1p2cniconduction test_box1p2cniconduction test_box1p2cnic
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1p2cniboxconduction-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1p2cniconduction-00007.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1p2cniconduction-00006.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p2cniconduction"
--zeroThreshold {"velocity":1e-8})
......@@ -30,7 +30,7 @@ add_dumux_test(test_box1p2cniconvection test_box1p2cniconvection test_box1p2cnic
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1p2cniboxconvection-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1p2cniconvection-00011.vtu
${CMAKE_CURRENT_BINARY_DIR}/box1p2cniconvection-00010.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box1p2cniconvection"
--zeroThreshold {"velocity":1e-16})
......@@ -38,7 +38,7 @@ add_dumux_test(test_cc1p2cniconduction test_cc1p2cniconduction test_cc1p2cnicond
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1p2cniccconduction-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1p2cniconduction-00007.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1p2cniconduction-00006.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p2cniconduction"
--zeroThreshold {"velocity":1e-8})
......@@ -46,7 +46,7 @@ add_dumux_test(test_cc1p2cniconvection test_cc1p2cniconvection test_cc1p2cniconv
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1p2cniccconvection-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1p2cniconvection-00011.vtu
${CMAKE_CURRENT_BINARY_DIR}/cc1p2cniconvection-00010.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc1p2cniconvection")
#install sources
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment