From 8f8a670f0a684b85d8510fcc2d015ccd03966489 Mon Sep 17 00:00:00 2001
From: hommel <johannes.hommel@iws.uni-stuttgart.de>
Date: Wed, 31 Oct 2018 15:51:57 +0100
Subject: [PATCH] [cleanup][test] Renamed mpnc tests

---
 .../implicit/2p2ccomparison/CMakeLists.txt    | 25 ++++----
 .../main.cc}                                  |  2 +-
 ..._mpnc_comparison_fv.input => params.input} |  0
 ...{mpnc_comparison_problem.hh => problem.hh} |  2 +-
 ...ison_spatialparams.hh => spatialparams.hh} |  0
 .../mpnc/implicit/CMakeLists.txt              | 60 +------------------
 .../mpnc/implicit/kinetic/CMakeLists.txt      | 19 ++++++
 .../main.cc}                                  |  2 +-
 .../params.input}                             |  0
 .../implicit/{ => kinetic}/plotoverline2d.hh  |  0
 .../problem.hh}                               |  2 +-
 .../spatialparams.hh}                         |  0
 .../mpnc/implicit/obstacle/CMakeLists.txt     | 27 +++++++++
 .../main.cc}                                  |  2 +-
 .../params.input}                             |  0
 .../problem.hh}                               |  2 +-
 .../spatialparams.hh}                         |  0
 .../thermalnonequilibrium/CMakeLists.txt      | 21 +++++++
 .../combustionfluidsystem.hh                  |  0
 .../combustionOutflowGridLinNX100LogNx100.dgf |  0
 .../combustionOutflowGridLinNX200LogNx200.dgf |  0
 .../combustionOutflowGridLinNX400LogNx400.dgf |  0
 .../combustionOutflowGridLinNX40LogNx40.dgf   |  0
 .../main.cc}                                  |  2 +-
 .../params.input}                             |  0
 .../problem.hh}                               |  2 +-
 .../spatialparams.hh}                         |  0
 ...est_mpnc_2p2ccomparison_box-reference.vtu} |  0
 ...st_mpnc_2p2ccomparison_tpfa-reference.vtu} |  0
 ...tu => test_mpnc_kinetic_box-reference.vtu} |  0
 ...u => test_mpnc_obstacle_box-reference.vtu} |  0
 ... => test_mpnc_obstacle_tpfa-reference.vtu} |  0
 ...st_mpnc_thermalnonequil_box-reference.vtp} |  0
 33 files changed, 91 insertions(+), 77 deletions(-)
 rename test/porousmediumflow/mpnc/implicit/{test_mpnc_obstacle_fv.cc => 2p2ccomparison/main.cc} (99%)
 rename test/porousmediumflow/mpnc/implicit/2p2ccomparison/{test_mpnc_comparison_fv.input => params.input} (100%)
 rename test/porousmediumflow/mpnc/implicit/2p2ccomparison/{mpnc_comparison_problem.hh => problem.hh} (99%)
 rename test/porousmediumflow/mpnc/implicit/2p2ccomparison/{mpnc_comparison_spatialparams.hh => spatialparams.hh} (100%)
 create mode 100644 test/porousmediumflow/mpnc/implicit/kinetic/CMakeLists.txt
 rename test/porousmediumflow/mpnc/implicit/{test_boxmpnckinetic.cc => kinetic/main.cc} (99%)
 rename test/porousmediumflow/mpnc/implicit/{test_boxmpnckinetic.input => kinetic/params.input} (100%)
 rename test/porousmediumflow/mpnc/implicit/{ => kinetic}/plotoverline2d.hh (100%)
 rename test/porousmediumflow/mpnc/implicit/{evaporationatmosphereproblem.hh => kinetic/problem.hh} (99%)
 rename test/porousmediumflow/mpnc/implicit/{evaporationatmospherespatialparams.hh => kinetic/spatialparams.hh} (100%)
 create mode 100644 test/porousmediumflow/mpnc/implicit/obstacle/CMakeLists.txt
 rename test/porousmediumflow/mpnc/implicit/{2p2ccomparison/test_mpnc_comparison_fv.cc => obstacle/main.cc} (99%)
 rename test/porousmediumflow/mpnc/implicit/{test_mpnc.input => obstacle/params.input} (100%)
 rename test/porousmediumflow/mpnc/implicit/{obstacleproblem.hh => obstacle/problem.hh} (99%)
 rename test/porousmediumflow/mpnc/implicit/{obstaclespatialparams.hh => obstacle/spatialparams.hh} (100%)
 create mode 100644 test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/CMakeLists.txt
 rename test/porousmediumflow/mpnc/implicit/{ => thermalnonequilibrium}/combustionfluidsystem.hh (100%)
 rename test/porousmediumflow/mpnc/implicit/{ => thermalnonequilibrium}/grids/combustionOutflowGridLinNX100LogNx100.dgf (100%)
 rename test/porousmediumflow/mpnc/implicit/{ => thermalnonequilibrium}/grids/combustionOutflowGridLinNX200LogNx200.dgf (100%)
 rename test/porousmediumflow/mpnc/implicit/{ => thermalnonequilibrium}/grids/combustionOutflowGridLinNX400LogNx400.dgf (100%)
 rename test/porousmediumflow/mpnc/implicit/{ => thermalnonequilibrium}/grids/combustionOutflowGridLinNX40LogNx40.dgf (100%)
 rename test/porousmediumflow/mpnc/implicit/{test_boxmpncthermalnonequil.cc => thermalnonequilibrium/main.cc} (99%)
 rename test/porousmediumflow/mpnc/implicit/{test_boxmpncthermalnonequil.input => thermalnonequilibrium/params.input} (100%)
 rename test/porousmediumflow/mpnc/implicit/{combustionproblem1c.hh => thermalnonequilibrium/problem.hh} (99%)
 rename test/porousmediumflow/mpnc/implicit/{combustionspatialparams.hh => thermalnonequilibrium/spatialparams.hh} (100%)
 rename test/references/{mpnc_2p2c_box-reference.vtu => test_mpnc_2p2ccomparison_box-reference.vtu} (100%)
 rename test/references/{mpnc_2p2c_tpfa-reference.vtu => test_mpnc_2p2ccomparison_tpfa-reference.vtu} (100%)
 rename test/references/{evaporationatmosphere-reference.vtu => test_mpnc_kinetic_box-reference.vtu} (100%)
 rename test/references/{obstaclebox-reference.vtu => test_mpnc_obstacle_box-reference.vtu} (100%)
 rename test/references/{obstaclecc-reference.vtu => test_mpnc_obstacle_tpfa-reference.vtu} (100%)
 rename test/references/{combustion-reference.vtp => test_mpnc_thermalnonequil_box-reference.vtp} (100%)

diff --git a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/CMakeLists.txt b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/CMakeLists.txt
index ac5322ff0e..a896528e3d 100644
--- a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/CMakeLists.txt
+++ b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/CMakeLists.txt
@@ -1,25 +1,26 @@
 add_input_file_links()
 
-dune_add_test(NAME test_mpnc_comparison_box
-              SOURCES test_mpnc_comparison_fv.cc
+dune_add_test(NAME test_mpnc_2p2ccomparison_box
+              SOURCES main.cc
               COMPILE_DEFINITIONS TYPETAG=MPNCComparisonBox
               COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
               CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/mpnc_2p2c_box-reference.vtu
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_comparison_box-00009.vtu
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_comparison_box test_mpnc_comparison_fv.input -Problem.Name test_mpnc_comparison_box")
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_2p2ccomparison_box-reference.vtu
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_2p2ccomparison_box-00009.vtu
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_2p2ccomparison_box params.input -Problem.Name test_mpnc_2p2ccomparison_box")
 
-dune_add_test(NAME test_mpnc_comparison_tpfa
-              SOURCES test_mpnc_comparison_fv.cc
+dune_add_test(NAME test_mpnc_2p2ccomparison_tpfa
+              SOURCES main.cc
               COMPILE_DEFINITIONS TYPETAG=MPNCComparisonCC
               COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
               CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/mpnc_2p2c_tpfa-reference.vtu
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_comparison_tpfa-00009.vtu
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_comparison_tpfa test_mpnc_comparison_fv.input -Problem.Name test_mpnc_comparison_tpfa")
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_2p2ccomparison_tpfa-reference.vtu
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_2p2ccomparison_tpfa-00009.vtu
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_2p2ccomparison_tpfa params.input -Problem.Name test_mpnc_2p2ccomparison_tpfa")
 
 #install sources
 install(FILES
-mpnc_comparison_problem.hh
-test_mpnc_comparison_fv.cc
+problem.hh
+spatialparams.hh
+main.cc
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/mpnc/2p2ccomparison)
diff --git a/test/porousmediumflow/mpnc/implicit/test_mpnc_obstacle_fv.cc b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/main.cc
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/test_mpnc_obstacle_fv.cc
rename to test/porousmediumflow/mpnc/implicit/2p2ccomparison/main.cc
index 41f6bfb518..8f605b3afa 100644
--- a/test/porousmediumflow/mpnc/implicit/test_mpnc_obstacle_fv.cc
+++ b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/main.cc
@@ -32,7 +32,7 @@
 #include <dune/grid/io/file/vtk.hh>
 #include <dune/istl/io.hh>
 
-#include "obstacleproblem.hh"
+#include "problem.hh"
 
 #include <dumux/common/properties.hh>
 #include <dumux/common/parameters.hh>
diff --git a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/test_mpnc_comparison_fv.input b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/params.input
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/2p2ccomparison/test_mpnc_comparison_fv.input
rename to test/porousmediumflow/mpnc/implicit/2p2ccomparison/params.input
diff --git a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/mpnc_comparison_problem.hh b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/problem.hh
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/2p2ccomparison/mpnc_comparison_problem.hh
rename to test/porousmediumflow/mpnc/implicit/2p2ccomparison/problem.hh
index 6e7c521ac6..c3781c478d 100644
--- a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/mpnc_comparison_problem.hh
+++ b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/problem.hh
@@ -38,7 +38,7 @@
 #include <dumux/material/fluidstates/compositional.hh>
 #include <dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
 
-#include "mpnc_comparison_spatialparams.hh"
+#include "spatialparams.hh"
 
 namespace Dumux {
 
diff --git a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/mpnc_comparison_spatialparams.hh b/test/porousmediumflow/mpnc/implicit/2p2ccomparison/spatialparams.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/2p2ccomparison/mpnc_comparison_spatialparams.hh
rename to test/porousmediumflow/mpnc/implicit/2p2ccomparison/spatialparams.hh
diff --git a/test/porousmediumflow/mpnc/implicit/CMakeLists.txt b/test/porousmediumflow/mpnc/implicit/CMakeLists.txt
index 7f03284bf5..cad8693eea 100644
--- a/test/porousmediumflow/mpnc/implicit/CMakeLists.txt
+++ b/test/porousmediumflow/mpnc/implicit/CMakeLists.txt
@@ -1,58 +1,4 @@
 add_subdirectory(2p2ccomparison)
-add_input_file_links()
-dune_symlink_to_source_files(FILES grids)
-
-dune_add_test(NAME test_mpnc_box
-              SOURCES test_mpnc_obstacle_fv.cc
-              COMPILE_DEFINITIONS TYPETAG=ObstacleBox
-              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
-              CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/obstaclebox-reference.vtu
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_boxmpnc-00009.vtu
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_box test_mpnc.input -Problem.Name test_boxmpnc")
-
-dune_add_test(NAME test_mpnc_tpfa
-              SOURCES test_mpnc_obstacle_fv.cc
-              COMPILE_DEFINITIONS TYPETAG=ObstacleCC
-              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
-              CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/obstaclecc-reference.vtu
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_ccmpnc-00009.vtu
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_tpfa test_mpnc.input -Problem.Name test_ccmpnc")
-# build target for the full kinetic test problem
-dune_add_test(NAME test_mpnckinetic_box
-              SOURCES test_boxmpnckinetic.cc
-              COMPILE_DEFINITIONS TYPETAG=EvaporationAtmosphereBox
-              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
-              CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/evaporationatmosphere-reference.vtu
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_boxmpnckinetic-00011.vtu
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnckinetic_box test_boxmpnckinetic.input -Problem.Name test_boxmpnckinetic")
-
-# build target for the energy kinetic test problem, two energy balance equations
-dune_add_test(COMPILE_ONLY # since it currently fails miserably with very different results on different machines
-              NAME test_mpncthermalnonequil_box
-              SOURCES test_boxmpncthermalnonequil.cc
-              COMPILE_DEFINITIONS TYPETAG=CombustionOneComponentBox
-              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
-              CMD_ARGS  --script fuzzy
-                        --files ${CMAKE_SOURCE_DIR}/test/references/combustion-reference.vtp
-                                ${CMAKE_CURRENT_BINARY_DIR}/test_boxmpncthermalnonequil-00073.vtp
-                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpncthermalnonequil_box test_boxmpncthermalnonequil.input -Problem.Name test_boxmpncthermalnonequil")
-
-
-
-#install sources
-install(FILES
-combustionproblem1c.hh
-combustionfluidsystem.hh
-combustionspatialparams.hh
-evaporationatmosphereproblem.hh
-evaporationatmospherespatialparams.hh
-obstacleproblem.hh
-obstaclespatialparams.hh
-test_boxmpnc.cc
-test_boxmpnckinetic.cc
-test_boxmpncthermalnonequil.cc
-test_ccmpnc.cc
-DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/mpnc)
+add_subdirectory(kinetic)
+add_subdirectory(obstacle)
+add_subdirectory(thermalnonequilibrium)
diff --git a/test/porousmediumflow/mpnc/implicit/kinetic/CMakeLists.txt b/test/porousmediumflow/mpnc/implicit/kinetic/CMakeLists.txt
new file mode 100644
index 0000000000..5186479437
--- /dev/null
+++ b/test/porousmediumflow/mpnc/implicit/kinetic/CMakeLists.txt
@@ -0,0 +1,19 @@
+add_input_file_links()
+
+# build target for the full kinetic test problem
+dune_add_test(NAME test_mpnc_kinetic_box
+              SOURCES main.cc
+              COMPILE_DEFINITIONS TYPETAG=EvaporationAtmosphereBoxTypeTag
+              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
+              CMD_ARGS  --script fuzzy
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_kinetic_box-reference.vtu
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_kinetic_box-00011.vtu
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_kinetic_box params.input -Problem.Name test_mpnc_kinetic_box")
+
+#install sources
+install(FILES
+problem.hh
+spatialparams.hh
+plotoverline2d.hh
+main.cc
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/mpnc/kinetic)
diff --git a/test/porousmediumflow/mpnc/implicit/test_boxmpnckinetic.cc b/test/porousmediumflow/mpnc/implicit/kinetic/main.cc
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/test_boxmpnckinetic.cc
rename to test/porousmediumflow/mpnc/implicit/kinetic/main.cc
index ad32dc8140..f1c837f718 100644
--- a/test/porousmediumflow/mpnc/implicit/test_boxmpnckinetic.cc
+++ b/test/porousmediumflow/mpnc/implicit/kinetic/main.cc
@@ -22,7 +22,7 @@
  * \brief Test for the three-phase box model
  */
 #include <config.h>
-#include "evaporationatmosphereproblem.hh"
+#include "problem.hh"
 
 #include <ctime>
 #include <iostream>
diff --git a/test/porousmediumflow/mpnc/implicit/test_boxmpnckinetic.input b/test/porousmediumflow/mpnc/implicit/kinetic/params.input
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/test_boxmpnckinetic.input
rename to test/porousmediumflow/mpnc/implicit/kinetic/params.input
diff --git a/test/porousmediumflow/mpnc/implicit/plotoverline2d.hh b/test/porousmediumflow/mpnc/implicit/kinetic/plotoverline2d.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/plotoverline2d.hh
rename to test/porousmediumflow/mpnc/implicit/kinetic/plotoverline2d.hh
diff --git a/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh b/test/porousmediumflow/mpnc/implicit/kinetic/problem.hh
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh
rename to test/porousmediumflow/mpnc/implicit/kinetic/problem.hh
index 8b48469d54..e48b0d71f8 100644
--- a/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh
+++ b/test/porousmediumflow/mpnc/implicit/kinetic/problem.hh
@@ -53,7 +53,7 @@
 #include "plotoverline2d.hh"
 #include <dumux/material/components/constant.hh>
 
-#include "evaporationatmospherespatialparams.hh"
+#include "spatialparams.hh"
 
 // material laws for interfacial area
 #include <dumux/material/fluidmatrixinteractions/2pia/efftoabslawia.hh>
diff --git a/test/porousmediumflow/mpnc/implicit/evaporationatmospherespatialparams.hh b/test/porousmediumflow/mpnc/implicit/kinetic/spatialparams.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/evaporationatmospherespatialparams.hh
rename to test/porousmediumflow/mpnc/implicit/kinetic/spatialparams.hh
diff --git a/test/porousmediumflow/mpnc/implicit/obstacle/CMakeLists.txt b/test/porousmediumflow/mpnc/implicit/obstacle/CMakeLists.txt
new file mode 100644
index 0000000000..ba3a883030
--- /dev/null
+++ b/test/porousmediumflow/mpnc/implicit/obstacle/CMakeLists.txt
@@ -0,0 +1,27 @@
+add_input_file_links()
+dune_symlink_to_source_files(FILES grids)
+
+dune_add_test(NAME test_mpnc_obstacle_box
+              SOURCES main.cc
+              COMPILE_DEFINITIONS TYPETAG=ObstacleBoxTypeTag
+              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
+              CMD_ARGS  --script fuzzy
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_obstacle_box-reference.vtu
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_obstacle_box-00009.vtu
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_obstacle_box params.input -Problem.Name test_mpnc_obstacle_box")
+
+dune_add_test(NAME test_mpnc_obstacle_tpfa
+              SOURCES main.cc
+              COMPILE_DEFINITIONS TYPETAG=ObstacleCCTypeTag
+              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
+              CMD_ARGS  --script fuzzy
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_obstacle_tpfa-reference.vtu
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_obstacle_tpfa-00009.vtu
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_obstacle_tpfa params.input -Problem.Name test_mpnc_obstacle_tpfa")
+
+#install sources
+install(FILES
+problem.hh
+spatialparams.hh
+main.cc
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/mpnc/obstacle)
diff --git a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/test_mpnc_comparison_fv.cc b/test/porousmediumflow/mpnc/implicit/obstacle/main.cc
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/2p2ccomparison/test_mpnc_comparison_fv.cc
rename to test/porousmediumflow/mpnc/implicit/obstacle/main.cc
index bb6ef40cc2..8f605b3afa 100644
--- a/test/porousmediumflow/mpnc/implicit/2p2ccomparison/test_mpnc_comparison_fv.cc
+++ b/test/porousmediumflow/mpnc/implicit/obstacle/main.cc
@@ -32,7 +32,7 @@
 #include <dune/grid/io/file/vtk.hh>
 #include <dune/istl/io.hh>
 
-#include "mpnc_comparison_problem.hh"
+#include "problem.hh"
 
 #include <dumux/common/properties.hh>
 #include <dumux/common/parameters.hh>
diff --git a/test/porousmediumflow/mpnc/implicit/test_mpnc.input b/test/porousmediumflow/mpnc/implicit/obstacle/params.input
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/test_mpnc.input
rename to test/porousmediumflow/mpnc/implicit/obstacle/params.input
diff --git a/test/porousmediumflow/mpnc/implicit/obstacleproblem.hh b/test/porousmediumflow/mpnc/implicit/obstacle/problem.hh
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/obstacleproblem.hh
rename to test/porousmediumflow/mpnc/implicit/obstacle/problem.hh
index ed0f356835..35b14ca4ef 100644
--- a/test/porousmediumflow/mpnc/implicit/obstacleproblem.hh
+++ b/test/porousmediumflow/mpnc/implicit/obstacle/problem.hh
@@ -39,7 +39,7 @@
 #include <dumux/material/fluidstates/compositional.hh>
 #include <dumux/material/constraintsolvers/computefromreferencephase.hh>
 
-#include "obstaclespatialparams.hh"
+#include "spatialparams.hh"
 
 namespace Dumux {
 
diff --git a/test/porousmediumflow/mpnc/implicit/obstaclespatialparams.hh b/test/porousmediumflow/mpnc/implicit/obstacle/spatialparams.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/obstaclespatialparams.hh
rename to test/porousmediumflow/mpnc/implicit/obstacle/spatialparams.hh
diff --git a/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/CMakeLists.txt b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/CMakeLists.txt
new file mode 100644
index 0000000000..9fff88d75d
--- /dev/null
+++ b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_input_file_links()
+dune_symlink_to_source_files(FILES grids)
+
+# build target for the energy kinetic test problem, two energy balance equations
+dune_add_test(COMPILE_ONLY # since it currently fails miserably with very different results on different machines
+              NAME test_mpnc_thermalnonequil_box
+              SOURCES main.cc
+              COMPILE_DEFINITIONS TYPETAG=CombustionOneComponentBox
+              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
+              CMD_ARGS  --script fuzzy
+                        --files ${CMAKE_SOURCE_DIR}/test/references/test_mpnc_thermalnonequil_box-reference.vtp
+                                ${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_thermalnonequil_box-00073.vtp
+                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_mpnc_thermalnonequil_box params.input -Problem.Name test_mpnc_thermalnonequil_box")
+
+#install sources
+install(FILES
+combustionfluidsystem.hh
+problem.hh
+spatialparams.hh
+main.cc
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/mpnc/thermalnonequilibrium)
diff --git a/test/porousmediumflow/mpnc/implicit/combustionfluidsystem.hh b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/combustionfluidsystem.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/combustionfluidsystem.hh
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/combustionfluidsystem.hh
diff --git a/test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX100LogNx100.dgf b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX100LogNx100.dgf
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX100LogNx100.dgf
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX100LogNx100.dgf
diff --git a/test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX200LogNx200.dgf b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX200LogNx200.dgf
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX200LogNx200.dgf
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX200LogNx200.dgf
diff --git a/test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX400LogNx400.dgf b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX400LogNx400.dgf
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX400LogNx400.dgf
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX400LogNx400.dgf
diff --git a/test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX40LogNx40.dgf b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX40LogNx40.dgf
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/grids/combustionOutflowGridLinNX40LogNx40.dgf
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/grids/combustionOutflowGridLinNX40LogNx40.dgf
diff --git a/test/porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.cc b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/main.cc
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.cc
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/main.cc
index 1c81c08a73..bce0796ba7 100644
--- a/test/porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.cc
+++ b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/main.cc
@@ -22,7 +22,7 @@
  * \brief Test for the three-phase box model
  */
 #include <config.h>
-#include "combustionproblem1c.hh"
+#include "problem.hh"
 
 #include <ctime>
 #include <iostream>
diff --git a/test/porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.input b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/params.input
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.input
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/params.input
diff --git a/test/porousmediumflow/mpnc/implicit/combustionproblem1c.hh b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/problem.hh
similarity index 99%
rename from test/porousmediumflow/mpnc/implicit/combustionproblem1c.hh
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/problem.hh
index c3ecf97739..1704440493 100644
--- a/test/porousmediumflow/mpnc/implicit/combustionproblem1c.hh
+++ b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/problem.hh
@@ -42,7 +42,7 @@
 #include <dumux/material/fluidmatrixinteractions/2p/thermalconductivitysimplefluidlumping.hh>
 #include <dumux/material/constraintsolvers/computefromreferencephase.hh>
 
-#include "combustionspatialparams.hh"
+#include "spatialparams.hh"
 #include "combustionfluidsystem.hh"
 
 namespace Dumux {
diff --git a/test/porousmediumflow/mpnc/implicit/combustionspatialparams.hh b/test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/spatialparams.hh
similarity index 100%
rename from test/porousmediumflow/mpnc/implicit/combustionspatialparams.hh
rename to test/porousmediumflow/mpnc/implicit/thermalnonequilibrium/spatialparams.hh
diff --git a/test/references/mpnc_2p2c_box-reference.vtu b/test/references/test_mpnc_2p2ccomparison_box-reference.vtu
similarity index 100%
rename from test/references/mpnc_2p2c_box-reference.vtu
rename to test/references/test_mpnc_2p2ccomparison_box-reference.vtu
diff --git a/test/references/mpnc_2p2c_tpfa-reference.vtu b/test/references/test_mpnc_2p2ccomparison_tpfa-reference.vtu
similarity index 100%
rename from test/references/mpnc_2p2c_tpfa-reference.vtu
rename to test/references/test_mpnc_2p2ccomparison_tpfa-reference.vtu
diff --git a/test/references/evaporationatmosphere-reference.vtu b/test/references/test_mpnc_kinetic_box-reference.vtu
similarity index 100%
rename from test/references/evaporationatmosphere-reference.vtu
rename to test/references/test_mpnc_kinetic_box-reference.vtu
diff --git a/test/references/obstaclebox-reference.vtu b/test/references/test_mpnc_obstacle_box-reference.vtu
similarity index 100%
rename from test/references/obstaclebox-reference.vtu
rename to test/references/test_mpnc_obstacle_box-reference.vtu
diff --git a/test/references/obstaclecc-reference.vtu b/test/references/test_mpnc_obstacle_tpfa-reference.vtu
similarity index 100%
rename from test/references/obstaclecc-reference.vtu
rename to test/references/test_mpnc_obstacle_tpfa-reference.vtu
diff --git a/test/references/combustion-reference.vtp b/test/references/test_mpnc_thermalnonequil_box-reference.vtp
similarity index 100%
rename from test/references/combustion-reference.vtp
rename to test/references/test_mpnc_thermalnonequil_box-reference.vtp
-- 
GitLab