Commit 1bff1979 authored by Timo Koch's avatar Timo Koch
Browse files

[test][3pwateroil] Always compare last time step to reference

parent ab1944d0
......@@ -6,7 +6,7 @@ dune_add_test(NAME test_3pwateroil_sagd_box
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_3pwateroil_sagd_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_3pwateroil_sagd_box-00011.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_3pwateroil_sagd_box-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_3pwateroil_sagd_box params.input -Problem.Name test_3pwateroil_sagd_box"
)
......
......@@ -181,6 +181,7 @@ int main(int argc, char** argv) try
timeLoop->setTimeStepSize(nonLinearSolver.suggestTimeStepSize(timeLoop->timeStepSize()));
// write vtk output
if (timeLoop->isCheckPoint() || timeLoop->finished())
vtkWriter.write(timeLoop->time());
} while (!timeLoop->finished());
......
......@@ -317,8 +317,6 @@ private:
mutable Scalar massProducedWater_;
std::string name_;
std::ofstream massBalance;
};
} //end namespace
......
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