Commit 0c36ce6c authored by Katharina Heck's avatar Katharina Heck

[henry2p] adapt output to episodetime

output is only written at the end of episodelength and some doxygen cleanup
parent 40e0667c
......@@ -5,7 +5,7 @@ dune_add_test(NAME henry2p
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/lecture/references/Henry2p-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/Henry2p-00087.vtu
${CMAKE_CURRENT_BINARY_DIR}/Henry2p-00002.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/henry2p -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/henry2p.input -Grid.File ${CMAKE_CURRENT_SOURCE_DIR}/grids/henry.dgf -TimeLoop.TEnd 1e9")
# headers for installation and headercheck
......
......@@ -135,11 +135,6 @@ int main(int argc, char** argv) try
const auto maxDt = getParam<Scalar>("TimeLoop.MaxTimeStepSize");
auto dt = getParam<Scalar>("TimeLoop.DtInitial");
// check if we are about to restart a previously interrupted simulation
Scalar restartTime = 0;
if (Parameters::getTree().hasKey("Restart") || Parameters::getTree().hasKey("TimeLoop.Restart")) // Fehlt ebenso
restartTime = getParam<Scalar>("TimeLoop.Restart");
// intialize the vtk output module
using IOFields = GetPropType<TypeTag, Properties::IOFields>;
VtkOutputModule<GridVariables, SolutionVector> vtkWriter(*gridVariables, x, problem->name());
......@@ -180,7 +175,8 @@ int main(int argc, char** argv) try
timeLoop->advanceTimeStep();
// write vtk output
vtkWriter.write(timeLoop->time());
if (timeLoop->isCheckPoint())
vtkWriter.write(timeLoop->time());
// report statistics of this time step
timeLoop->reportTimeStep();
......
......@@ -111,8 +111,6 @@ public:
/*!
* \brief The constructor
*
* \param timeManager The time manager
* \param gridView The grid view
*/
Henry2pProblem(std::shared_ptr<const FVGridGeometry> fvGridGeometry)
: ParentType(fvGridGeometry)
......
......@@ -34,8 +34,6 @@
namespace Dumux {
/*!
* \ingroup TwoPBoxModel
* \ingroup BoxTestProblems
* \brief The spatial parameters for the Henry2pProblem which uses the
* twophase box model
*/
......
......@@ -18,7 +18,6 @@
*****************************************************************************/
/*!
* \file
* \ingroup Components
* \brief A much simpler (and thus potentially less buggy) version of
* pure water.
*/
......@@ -31,7 +30,6 @@
namespace Dumux {
/*!
* \ingroup Components
*
* \brief A much simpler (and thus potentially less buggy) version of
* pure water.
......
Markdown is supported
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