Commit 165dc76d authored by Lukas Riedel's avatar Lukas Riedel

Remove old paramter storage and interpolators when commencing simulation run

parent c01c5ee6
......@@ -183,7 +183,10 @@ bool Simulation<Traits>::compute_time_step ()
template<typename Traits>
void Simulation<Traits>::run ()
{
param.clear();
// delete old paramterization storage
param.reset();
interp.reset();
const auto t_start = controller->getTime();
output->write_vtk_output(t_start);
while(controller->doStep()) {
......
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