From b652a424e2f259f718f07b56d50a8fe0202d2bff Mon Sep 17 00:00:00 2001 From: podlesny <podlesny@zedat.fu-berlin.de> Date: Fri, 19 Mar 2021 15:34:59 +0100 Subject: [PATCH] add debug print --- dune/tectonic/time-stepping/adaptivetimestepper.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dune/tectonic/time-stepping/adaptivetimestepper.cc b/dune/tectonic/time-stepping/adaptivetimestepper.cc index 924af2e8..d9ef1c5a 100644 --- a/dune/tectonic/time-stepping/adaptivetimestepper.cc +++ b/dune/tectonic/time-stepping/adaptivetimestepper.cc @@ -140,7 +140,7 @@ int AdaptiveTimeStepper<Factory, ContactNetwork, Updaters, ErrorNorms>::refine(U F1 = F1_Step.get(); //updateReductionFactors(reductionFactors); - //std::cout << "AdaptiveTimeStepper F1 computed!" << std::endl << std::endl; + std::cout << "AdaptiveTimeStepper F1 computed!" << std::endl << std::endl; setDeformation(F1.updaters); //auto F2_linearSolver = makeLinearSolver(); @@ -197,7 +197,7 @@ int AdaptiveTimeStepper<Factory, ContactNetwork, Updaters, ErrorNorms>::determin auto C_Step = Step(stepBase_, current_, currentNBodyAssembler, relativeTime_, 2 * relativeTau_, iterationRegister_); C_Step.run(Step::Mode::sameThread); // newThread //updateReductionFactors(reductionFactors); - //std::cout << "AdaptiveTimeStepper C computed!" << std::endl << std::endl; + std::cout << "AdaptiveTimeStepper C computed!" << std::endl << std::endl; setDeformation(R1_.updaters); //auto R2_linearSolver = makeLinearSolver(); @@ -206,7 +206,7 @@ int AdaptiveTimeStepper<Factory, ContactNetwork, Updaters, ErrorNorms>::determin R2_Step.run(Step::Mode::sameThread); //newThread //updateReductionFactors(reductionFactors); - //std::cout << "AdaptiveTimeStepper R2 computed!" << std::endl << std::endl; + std::cout << "AdaptiveTimeStepper R2 computed!" << std::endl << std::endl; if (N_THREADS < 3) { C = C_Step.get(); @@ -223,7 +223,7 @@ int AdaptiveTimeStepper<Factory, ContactNetwork, Updaters, ErrorNorms>::determin auto F1_Step = Step(stepBase_, current_, currentNBodyAssembler, relativeTime_, relativeTau_ / 2.0, iterationRegister_); F1_Step.run(Step::Mode::sameThread); //newThread //updateReductionFactors(reductionFactors); - //std::cout << "AdaptiveTimeStepper F1 computed!" << std::endl << std::endl; + std::cout << "AdaptiveTimeStepper F1 computed!" << std::endl << std::endl; if (N_THREADS > 2) { C = C_Step.get(); @@ -282,7 +282,7 @@ IterationRegister AdaptiveTimeStepper<Factory, ContactNetwork, Updaters, ErrorNo of size tau/2 with one of size tau. The method makes multiple coarsening/refining attempts, with coarsening coming first. */ - //std::cout << "AdaptiveTimeStepper::advance()" << std::endl; + std::cout << "AdaptiveTimeStepper::advance()" << std::endl; using Step = Step<Factory, ContactNetwork, Updaters, ErrorNorms>; -- GitLab