Commit e7114b60 authored by Lukas Riedel's avatar Lukas Riedel

setting factory verbosity to zero for rank > 0

parent 838d0f3f
......@@ -11,6 +11,7 @@ Simulation<Traits>::Simulation (Dune::MPIHelper& _helper, std::shared_ptr<Grid>
verbose(inifile.get<int>("output.verbose"))
{
Dune::Timer timer;
const int verbose_low = helper.rank() == 0 ? verbose : 0;
// --- Grid Function Space ---
gfs = std::make_unique<GFS>(GFSHelper::create(gv));
......@@ -19,9 +20,9 @@ Simulation<Traits>::Simulation (Dune::MPIHelper& _helper, std::shared_ptr<Grid>
Dune::PDELab::constraints(*gfs,*cc,false);
// --- Parameter class ---
InterpolatorFactory intfac(inifile,helper,verbose);
InterpolatorFactory intfac(inifile,helper,verbose_low);
interp = intfac.create();
ParameterizationFactory pfac(inifile,helper,*interp,verbose);
ParameterizationFactory pfac(inifile,helper,*interp,verbose_low);
param = pfac.create();
// --- Operator Helper Classes ---
......
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