1 #ifndef SM_TimeStepper_H
2 #define SM_TimeStepper_H
138 std::stringstream ret;
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:94
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:259
virtual tString toString() const
return the string representation of the object node
Definition: CORE_Object.h:314
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:19
This class is describes a time stepper.
Definition: SM_TimeStepper.h:13
tReal mTimeStep
Definition: SM_TimeStepper.h:19
void copy(const SM_TimeStepper &T)
copy the time stepper
Definition: SM_TimeStepper.h:86
tIndex mMaximumTimeStepsNumber
Definition: SM_TimeStepper.h:25
static CORE_UniquePointer< SM_TimeStepper > New()
build a new instance of a TimeStepper
Definition: SM_TimeStepper.h:55
const tReal & getTimeStep() const
return the time step
Definition: SM_TimeStepper.h:103
void setMaximumTimeStepsNumber(const tIndex &nSteps)
set the maximum time steps number
Definition: SM_TimeStepper.h:123
void setTargetTime(const tReal &t)
set the target time
Definition: SM_TimeStepper.h:109
virtual tString toString() const override
turn the class into a string representation
Definition: SM_TimeStepper.h:137
const tIndex & getMaximumTimeStepsNumber() const
return the time steps number
Definition: SM_TimeStepper.h:130
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_TimeStepper.h:75
SM_TimeStepper(void)
create a network class
Definition: SM_TimeStepper.h:35
tReal mTargetTime
Definition: SM_TimeStepper.h:22
const tReal & getTargetTime() const
return the target time
Definition: SM_TimeStepper.h:117
void setTimeStep(const tReal &dt)
set the time step
Definition: SM_TimeStepper.h:94
virtual ~SM_TimeStepper(void)
destroy
Definition: SM_TimeStepper.h:44
#define ASSERT_IN(a)
Definition: functions.h:601
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tIndex
Definition: types.h:157
#define tString
Definition: types.h:147
#define tMemSize
Definition: types.h:166
#define tInteger
Definition: types.h:114
#define tReal
Definition: types.h:137