Hello,

I tried to implement an EpisodeLength parameter into a simulation in order
to reduce the amount of output files. I used the remediations scenarios
example from the dumux lecture. By compiling, I got the following error
message:

/home/kaiw/DUMUX_10/dumux-degassing/appl/degassing/main.cc:125:19: error:
‘using element_type = class Dumux::TimeLoop<double> {aka class
Dumux::TimeLoop<double>}’ has no member named ‘setPeriodicCheckPoint’

 timeLoop->setPeriodicCheckPoint(getParam<Scalar>("TimeLoop.EpisodeLength"));
                   ^~~~~~~~~~~~~~~~~~~~~
/home/kaiw/DUMUX_10/dumux-degassing/appl/degassing/main.cc:165:62: error:
‘using element_type = class Dumux::TimeLoop<double> {aka class
Dumux::TimeLoop<double>}’ has no member named ‘isCheckPoint’
         if (!hasParam("TimeLoop.EpisodeLength") ||
timeLoop->isCheckPoint() || timeLoop->finished() ||
timeLoop->timeStepIndex() == 1)
                                                              ^~~~~~~~~~~~
In file included from
/home/kaiw/DUMUX_10/dumux/dumux/io/grid/gridmanager.hh:32:0,
                 from
/home/kaiw/DUMUX_10/dumux-degassing/appl/degassing/main.cc:49:
/home/kaiw/DUMUX_10/dumux/dumux/io/grid/gridmanager_ug.hh: In instantiation
of ‘void Dumux::GridManager<Dune::UGGrid<dim> >::preProcessing_(const
string&) [with int dim = 2; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
/home/kaiw/DUMUX_10/dumux/dumux/io/grid/gridmanager_ug.hh:76:27:   required
from ‘void Dumux::GridManager<Dune::UGGrid<dim> >::init(const string&)
[with int dim = 2; std::__cxx11::string = std::__cxx11::basic_string<char>]’

Is there anything to be activated?
Greetings,
Kai
_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to