10#ifndef Tempus_SolutionStateMetaData_impl_hpp
11#define Tempus_SolutionStateMetaData_impl_hpp
15template <
class Scalar>
43template <
class Scalar>
45 const Scalar time,
const int iStep,
const Scalar dt,
const Scalar errorAbs,
46 const Scalar errorRel,
const Scalar errorRelNm1,
const Scalar errorRelNm2,
47 const int order,
const int nFailures,
const int nRunningFailures,
48 const int nConsecutiveFailures,
const Scalar tolRel,
const Scalar tolAbs,
49 const Scalar xNormL2,
const Scalar dxNormL2Rel,
const Scalar dxNormL2Abs,
50 const bool computeNorms,
const Status solutionStatus,
const bool output,
51 const bool outputScreen,
const bool isSynced,
const bool isInterpolated,
52 const Scalar accuracy)
79template <
class Scalar>
107template <
class Scalar>
108Teuchos::RCP<SolutionStateMetaData<Scalar> >
111 Teuchos::RCP<SolutionStateMetaData<Scalar> > md =
122template <
class Scalar>
147template <
class Scalar>
150 std::string name =
"Tempus::SolutionStateMetaData";
154template <
class Scalar>
156 Teuchos::FancyOStream& out,
const Teuchos::EVerbosityLevel verbLevel)
const
158 auto l_out = Teuchos::fancyOStream(out.getOStream());
159 Teuchos::OSTab ostab(*l_out, 2, this->
description());
160 l_out->setOutputToRootOnly(0);
162 *l_out <<
"\n--- " << this->
description() <<
" ---" << std::endl;
164 if (verbLevel >= Teuchos::VERB_MEDIUM) {
165 *l_out <<
" time = " <<
time_ << std::endl
166 <<
" iStep = " <<
iStep_ << std::endl
167 <<
" dt = " <<
dt_ << std::endl
168 <<
" errorAbs = " <<
errorAbs_ << std::endl
169 <<
" errorRel = " <<
errorRel_ << std::endl
172 <<
" order = " <<
order_ << std::endl
176 <<
" tolRel = " <<
tolRel_ << std::endl
177 <<
" tolAbs = " <<
tolAbs_ << std::endl
178 <<
" xNormL2 = " <<
xNormL2_ << std::endl
183 <<
" output = " <<
output_ << std::endl
185 <<
" isSynced = " <<
isSynced_ << std::endl
187 <<
" accuracy = " <<
accuracy_ << std::endl;
189 *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.