From ac70a53dca2379397ebd82b8da54a7d6ebbf72f2 Mon Sep 17 00:00:00 2001 From: Johannes Hommel <johannes.hommel@iws.uni-stuttgart.de> Date: Fri, 19 Aug 2022 14:06:08 +0200 Subject: [PATCH] [Material][Components][SimpleCO2] added simpleCO2 to plot component tests --- test/material/components/CMakeLists.txt | 6 ++++++ test/material/components/plotproperties.cc | 3 +++ 2 files changed, 9 insertions(+) diff --git a/test/material/components/CMakeLists.txt b/test/material/components/CMakeLists.txt index a2fa8428da..a5228e4746 100644 --- a/test/material/components/CMakeLists.txt +++ b/test/material/components/CMakeLists.txt @@ -130,6 +130,12 @@ dumux_add_test(NAME plot_o2 CMD_ARGS "O2" LABELS unit material) +dumux_add_test(NAME plot_simpleco2 + TARGET plot_component + COMMAND ./plot_component + CMD_ARGS "SimpleCO2" + LABELS unit material) + dumux_add_test(NAME plot_simpleh2o TARGET plot_component COMMAND ./plot_component diff --git a/test/material/components/plotproperties.cc b/test/material/components/plotproperties.cc index 71f79bb749..bfbf8b0870 100644 --- a/test/material/components/plotproperties.cc +++ b/test/material/components/plotproperties.cc @@ -56,6 +56,7 @@ #include <dumux/material/components/n2.hh> #include <dumux/material/components/nacl.hh> #include <dumux/material/components/o2.hh> +#include <dumux/material/components/simpleco2.hh> #include <dumux/material/components/simpleh2o.hh> #include <dumux/material/components/sodiumion.hh> #include <dumux/material/components/trichloroethene.hh> @@ -377,6 +378,8 @@ int main(int argc, char *argv[]) plotStuff< Components::NaCl<double> >(openPlotWindow); else if (compName == "O2") plotStuff< Components::O2<double> >(openPlotWindow); + else if (compName == "SimpleCO2") + plotStuff< Components::SimpleCO2<double> >(openPlotWindow); else if (compName == "SimpleH2O") plotStuff< Components::SimpleH2O<double> >(openPlotWindow); else if (compName == "SodiumIon") -- GitLab