Skip to content

Commit

Permalink
Tempus: adding print statements to facilitate debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalash committed Aug 4, 2020
1 parent a4339f9 commit e1da322
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/tempus/src/Tempus_StepperExplicit_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,10 @@ evaluateExplicitODE(Teuchos::RCP< Thyra::VectorBase<Scalar> > 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<class Scalar>
Expand Down Expand Up @@ -292,7 +294,9 @@ evaluateExplicitODE(Teuchos::RCP< Thyra::VectorBase<Scalar> > xDotDot,

outArgs_.set_f(xDotDot);

std::cout << "IKT evaluateExplicitODE before evalModel time = " << time << "\n";
appModel_->evalModel(inArgs_, outArgs_);
std::cout << "IKT after evalModel \n";
}


Expand Down

0 comments on commit e1da322

Please sign in to comment.