9#ifndef Tempus_SolutionStateMetaData_impl_hpp
10#define Tempus_SolutionStateMetaData_impl_hpp
48 const Scalar errorAbs,
49 const Scalar errorRel,
50 const Scalar errorRelNm1,
51 const Scalar errorRelNm2,
54 const int nRunningFailures,
55 const int nConsecutiveFailures,
59 const Scalar dxNormL2Rel,
60 const Scalar dxNormL2Abs,
61 const bool computeNorms,
62 const Status solutionStatus,
64 const bool outputScreen,
66 const bool isInterpolated,
67 const Scalar accuracy)
120template<
class Scalar>
123 Teuchos::RCP<SolutionStateMetaData<Scalar> > md =
153template<
class Scalar>
183template<
class Scalar>
186 std::string name =
"Tempus::SolutionStateMetaData";
191template<
class Scalar>
193 Teuchos::FancyOStream &out,
194 const Teuchos::EVerbosityLevel verbLevel)
const
196 auto l_out = Teuchos::fancyOStream( out.getOStream() );
197 Teuchos::OSTab ostab(*l_out, 2, this->
description());
198 l_out->setOutputToRootOnly(0);
200 *l_out <<
"\n--- " << this->
description() <<
" ---" <<std::endl;
202 if (verbLevel >= Teuchos::VERB_MEDIUM) {
203 *l_out <<
" time = " <<
time_ << std::endl
204 <<
" iStep = " <<
iStep_ << std::endl
205 <<
" dt = " <<
dt_ << std::endl
206 <<
" errorAbs = " <<
errorAbs_ << std::endl
207 <<
" errorRel = " <<
errorRel_ << std::endl
210 <<
" order = " <<
order_ << std::endl
214 <<
" tolRel = " <<
tolRel_ << std::endl
215 <<
" tolAbs = " <<
tolAbs_ << std::endl
216 <<
" xNormL2 = " <<
xNormL2_ << std::endl
221 <<
" output = " <<
output_ << std::endl
223 <<
" isSynced = " <<
isSynced_ << std::endl
225 <<
" accuracy = " <<
accuracy_ << std::endl;
227 *l_out << std::string(this->
description().length()+8,
'-') <<std::endl;
Status
Status for the Integrator, the Stepper and the SolutionState.
const std::string toString(const Status status)
Convert Status to string.