9 #ifndef Tempus_PhysicsState_impl_hpp
10 #define Tempus_PhysicsState_impl_hpp
12 #include "Teuchos_VerboseObject.hpp"
13 #include "Teuchos_Describable.hpp"
19 template<
class Scalar>
24 template<
class Scalar>
31 pSB->setName(this->getName());
36 template<
class Scalar>
40 physicsName_ = pS->getName();
43 template<
class Scalar>
49 template<
class Scalar>
55 template<
class Scalar>
58 return "Tempus::PhysicsState - '" + physicsName_ +
"'";
61 template<
class Scalar>
66 auto l_out = Teuchos::fancyOStream( out.
getOStream() );
68 l_out->setOutputToRootOnly(0);
70 *l_out <<
"\n--- " << this->description() <<
" ---" << std::endl;
75 #endif // Tempus_PhysicsState_impl_hpp
PhysicsState is a simple class to hold information about the physics.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
PhysicsState(std::string pN="Tempus::PhysicsState")
Constructor.
virtual Teuchos::RCP< PhysicsState< Scalar > > clone() const
Clone constructor.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual void copy(const Teuchos::RCP< const PhysicsState< Scalar > > &pS)
This is a deep copy.
virtual std::string description() const
virtual std::string getName() const
Return name of PhysicsState.
RCP< std::basic_ostream< char_type, traits_type > > getOStream()
virtual void setName(std::string pN)
Set name of PhysicsState.