Tempus
Version of the Day
Time Integration
|
PhysicsStateCounter is a simple PhysicsState that counts steps. More...
#include <Tempus_PhysicsStateCounter.hpp>
Public Member Functions | |
PhysicsStateCounter (std::string pN="Tempus::PhysicsStateCounter", int pI=0) | |
Constructor. More... | |
virtual | ~PhysicsStateCounter () |
Destructor. More... | |
virtual Teuchos::RCP < Tempus::PhysicsState< Scalar > > | clone () const |
Clone constructor. More... | |
virtual void | copy (const Teuchos::RCP< const Tempus::PhysicsState< Scalar > > &pS) |
This is a deep copy. More... | |
virtual int | getCounter () const |
Return counter of PhysicsStateCounter. More... | |
virtual void | setCounter (int counter) |
Set counter of PhysicsStateCounter. More... | |
Public Member Functions inherited from Tempus::PhysicsState< Scalar > | |
PhysicsState (std::string pN="Tempus::PhysicsState") | |
Constructor. More... | |
virtual | ~PhysicsState () |
Destructor. More... | |
virtual std::string | getName () const |
Return name of PhysicsState. More... | |
virtual void | setName (std::string pN) |
Set name of PhysicsState. More... | |
virtual std::string | description () const |
Public Member Functions inherited from Teuchos::Describable | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
virtual | ~Describable () |
LabeledObject () | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
virtual std::string | getObjectLabel () const |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Public Member Functions inherited from Teuchos::VerboseObject< Tempus::PhysicsState< Scalar > > | |
VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) | |
virtual const VerboseObject & | setVerbLevel (const EVerbosityLevel verbLevel) const |
virtual const VerboseObject & | setOverridingVerbLevel (const EVerbosityLevel verbLevel) const |
virtual EVerbosityLevel | getVerbLevel () const |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< const ParameterList > | getValidVerboseObjectSublist () |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void | setupVerboseObjectSublist (ParameterList *paramList) |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void | readVerboseObjectSublist (ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel) |
void | readVerboseObjectSublist (ParameterList *paramList, VerboseObject< ObjectType > *verboseObject) |
Public Member Functions inherited from Teuchos::VerboseObjectBase | |
virtual | ~VerboseObjectBase () |
VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) | |
virtual const VerboseObjectBase & | setOStream (const RCP< FancyOStream > &oStream) const |
virtual const VerboseObjectBase & | setOverridingOStream (const RCP< FancyOStream > &oStream) const |
virtual VerboseObjectBase & | setLinePrefix (const std::string &linePrefix) |
virtual RCP< FancyOStream > | getOStream () const |
virtual RCP< FancyOStream > | getOverridingOStream () const |
virtual std::string | getLinePrefix () const |
virtual OSTab | getOSTab (const int tabs=1, const std::string &linePrefix="") const |
Protected Attributes | |
int | physicsCounter_ |
Counter for steps. More... | |
Protected Attributes inherited from Tempus::PhysicsState< Scalar > | |
std::string | physicsName_ |
Name of the creating Physics. More... | |
Overridden from Teuchos::Describable | |
virtual void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Teuchos::VerboseObject< Tempus::PhysicsState< Scalar > > | |
static void | setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel) |
static EVerbosityLevel | getDefaultVerbLevel () |
Static Public Member Functions inherited from Teuchos::VerboseObjectBase | |
static void | setDefaultOStream (const RCP< FancyOStream > &defaultOStream) |
static RCP< FancyOStream > | getDefaultOStream () |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default |
Protected Member Functions inherited from Teuchos::VerboseObject< Tempus::PhysicsState< Scalar > > | |
void | initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) |
Protected Member Functions inherited from Teuchos::VerboseObjectBase | |
void | initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) |
virtual void | informUpdatedVerbosityState () const |
PhysicsStateCounter is a simple PhysicsState that counts steps.
Definition at line 24 of file Tempus_PhysicsStateCounter.hpp.
|
inline |
Constructor.
Definition at line 27 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Destructor.
Definition at line 34 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Clone constructor.
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 37 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
This is a deep copy.
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 47 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Return counter of PhysicsStateCounter.
Definition at line 57 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Set counter of PhysicsStateCounter.
Definition at line 60 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 64 of file Tempus_PhysicsStateCounter.hpp.
|
protected |
Counter for steps.
Definition at line 74 of file Tempus_PhysicsStateCounter.hpp.