Commit df5b51aa authored by Katharina Heck's avatar Katharina Heck

[cleanup] shorten test time and use episode lenght

parent 28d4a217
......@@ -7,8 +7,7 @@ dune_add_test(NAME lens2pexercise2
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/lecture/references/lens-2p-exercise2-reference.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/lens2pexercise2"
--zeroThreshold {"Sn":0.001})
--command "${CMAKE_CURRENT_BINARY_DIR}/lens2pexercise2")
# headers for installation and headercheck
......@@ -171,8 +171,9 @@ int main(int argc, char** argv) try
// instantiate time loop
auto timeLoop = std::make_shared<TimeLoop<Scalar>>(restartTime, dt, tEnd);
auto timeLoop = std::make_shared<CheckPointTimeLoop<Scalar>>(restartTime, dt, tEnd);
timeLoop->setPeriodicCheckPoint(getParam<Scalar>("TimeLoop.EpisodeLength", std::numeric_limits<Scalar>::max()));
// the assembler with time loop for instationary problem
MaxTimeStepSize = 1.0e5 # maximal time step size [s]
TEnd = 5.0e6 # end time of the simulation [s]
MaxTimeStepSize = 200 # maximal time step size [s]
TEnd = 1e4 # end time of the simulation [s]
DtInitial = 1e2 # initial time step for the simulation [s]
EpisodeLength = 1.0e5
This source diff could not be displayed because it is too large. You can view the blob instead.
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