9#ifndef Tempus_StepperState_hpp
10#define Tempus_StepperState_hpp
12#include "Teuchos_VerboseObject.hpp"
13#include "Teuchos_Describable.hpp"
16#include "Tempus_config.hpp"
38 public Teuchos::Describable,
39 public Teuchos::VerboseObject<Tempus::StepperState<Scalar> >
47 virtual Teuchos::RCP<StepperState<Scalar> >
clone()
const
49 Teuchos::RCP<StepperState<Scalar> > ss_out =
67 virtual void describe(Teuchos::FancyOStream & out,
68 const Teuchos::EVerbosityLevel )
const
70 auto l_out = Teuchos::fancyOStream( out.getOStream() );
71 Teuchos::OSTab ostab(*l_out,2, this->
description());
72 l_out->setOutputToRootOnly(0);
74 *l_out <<
"\n--- " << this->
description() <<
" ---" << std::endl;
StepperState is a simple class to hold state information about the stepper.
virtual Teuchos::RCP< StepperState< Scalar > > clone() const
Clone copy constructor.
std::string stepperName_
Name of the creating Stepper.
virtual void copy(const Teuchos::RCP< const StepperState< Scalar > > &ss)
This is a deep copy.
virtual std::string description() const
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel) const
StepperState(std::string name="Default")
Constructor.