1 #ifndef SM_TimeStepper_H
2 #define SM_TimeStepper_H
52 inline static CORE_UniquePointer<SM_TimeStepper>
New() {
117 std::stringstream ret;
120 ret<<
"time step:"<<mTimeStep<<
"\n";
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
virtual tString toString() const
return the string representation of the object node
Definition: CORE_Object.h:333
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36
This class is describes a time stepper.
Definition: SM_TimeStepper.h:13
virtual void adimensionize(const tReal &cT)
adimensionize operator with characteric field value in J
Definition: SM_TimeStepper.h:92
void copy(const SM_TimeStepper &T)
copy the time stepper
Definition: SM_TimeStepper.h:83
static CORE_UniquePointer< SM_TimeStepper > New()
build a new instance of a TimeStepper
Definition: SM_TimeStepper.h:52
const tReal & getTimeStep() const
return the time step
Definition: SM_TimeStepper.h:108
virtual tString toString() const override
turn the class into a string representation
Definition: SM_TimeStepper.h:116
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_TimeStepper.h:72
SM_TimeStepper(void)
create a network class
Definition: SM_TimeStepper.h:33
void setTimeStep(const tReal &dt)
set the time step
Definition: SM_TimeStepper.h:99
virtual ~SM_TimeStepper(void)
destroy
Definition: SM_TimeStepper.h:41