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... | |
Overridden from Teuchos::Describable | |
virtual void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
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 |
Protected Attributes | |
int | physicsCounter_ |
Counter for steps. More... | |
Protected Attributes inherited from Tempus::PhysicsState< Scalar > | |
std::string | physicsName_ |
Name of the creating Physics. More... | |
PhysicsStateCounter is a simple PhysicsState that counts steps.
Definition at line 24 of file Tempus_PhysicsStateCounter.hpp.
|
inline |
Constructor.
Definition at line 30 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Destructor.
Definition at line 36 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Clone constructor.
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 39 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
This is a deep copy.
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 49 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Reimplemented from Tempus::PhysicsState< Scalar >.
Definition at line 66 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Return counter of PhysicsStateCounter.
Definition at line 59 of file Tempus_PhysicsStateCounter.hpp.
|
inlinevirtual |
Set counter of PhysicsStateCounter.
Definition at line 62 of file Tempus_PhysicsStateCounter.hpp.
|
protected |
Counter for steps.
Definition at line 77 of file Tempus_PhysicsStateCounter.hpp.