From e1da322aac42ae6f3bb1ddcb38e67af8708e5f03 Mon Sep 17 00:00:00 2001 From: Irina Tezaur Date: Tue, 4 Aug 2020 11:16:36 -0700 Subject: [PATCH] Tempus: adding print statements to facilitate debugging. --- packages/tempus/src/Tempus_StepperExplicit_impl.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/tempus/src/Tempus_StepperExplicit_impl.hpp b/packages/tempus/src/Tempus_StepperExplicit_impl.hpp index 57701ed57516..e12edafbd757 100644 --- a/packages/tempus/src/Tempus_StepperExplicit_impl.hpp +++ b/packages/tempus/src/Tempus_StepperExplicit_impl.hpp @@ -259,8 +259,10 @@ evaluateExplicitODE(Teuchos::RCP< Thyra::VectorBase > xDot, if (inArgs_.supports(MEB::IN_ARG_x_dot)) inArgs_.set_x_dot(Teuchos::null); outArgs_.set_f(xDot); - + + std::cout << "IKT evaluateExplicitODE before evalModel time = " << time << "\n"; appModel_->evalModel(inArgs_, outArgs_); + std::cout << "IKT after evalModel \n"; } template @@ -292,7 +294,9 @@ evaluateExplicitODE(Teuchos::RCP< Thyra::VectorBase > xDotDot, outArgs_.set_f(xDotDot); + std::cout << "IKT evaluateExplicitODE before evalModel time = " << time << "\n"; appModel_->evalModel(inArgs_, outArgs_); + std::cout << "IKT after evalModel \n"; }