|
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. | |
| virtual | ~PhysicsStateCounter () |
| Destructor. | |
| virtual Teuchos::RCP< Tempus::PhysicsState< Scalar > > | clone () const |
| Clone constructor. | |
| virtual void | copy (const Teuchos::RCP< const Tempus::PhysicsState< Scalar > > &pS) |
| This is a deep copy. | |
| virtual int | getCounter () const |
| Return counter of PhysicsStateCounter. | |
| virtual void | setCounter (int counter) |
| Set counter of PhysicsStateCounter. | |
Public Member Functions inherited from Tempus::PhysicsState< Scalar > | |
| PhysicsState (std::string pN="Tempus::PhysicsState") | |
| Constructor. | |
| virtual | ~PhysicsState () |
| Destructor. | |
| virtual std::string | getName () const |
| Return name of PhysicsState. | |
| virtual void | setName (std::string pN) |
| Set name of PhysicsState. | |
| virtual std::string | description () const |
Overridden from Teuchos::Describable | |
| int | physicsCounter_ |
| Counter for steps. | |
| virtual void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
Additional Inherited Members | |
Protected Attributes inherited from Tempus::PhysicsState< Scalar > | |
| std::string | physicsName_ |
| Name of the creating Physics. | |
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.