96 inline void setSimulations(std::initializer_list<tIndex>&& simulationIndices) {
tUCInt tDimension
Definition: CORE_StdPtrField.h:567
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
This class is a simulation of a beam of trajectories class for Stoch Microm package.
Definition: SM_Beam.h:46
This class is describes a a network.
Definition: SM_Network.h:18
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:19
Definition: SM_Output.h:21
std::vector< tIndex > mSimulations
Definition: SM_Output.h:26
void setOutputPath(const tString &path)
set the output path
Definition: SM_Output.h:109
tBoolean saveStochasticIndicators(const SM_Beam &beam) const
save the stochastic output from beam
Definition: SM_Output.cpp:126
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_Output.h:82
static CORE_UniquePointer< SM_Output > New()
build a new instance of the class
Definition: SM_Output.h:50
tBoolean generateOutput(SM_Beam &beam) const
save the file for animations
Definition: SM_Output.cpp:29
tString mOutputPath
Definition: SM_Output.h:27
void setPrefix(const tString &prefix)
set the prefix of generated files
Definition: SM_Output.h:115
static tBoolean LoadMagneticMomentField(const tString &fileName, tReal &dt, tInteger &nTimeSteps, SM_RealField &mu_s)
save the particles coordinate from field mu at simulation
Definition: SM_Output.cpp:224
void setSimulations(const std::vector< tIndex > &simulationIndices)
set the simulations index to save
Definition: SM_Output.h:102
tString mPrefix
Definition: SM_Output.h:28
static tBoolean SaveMagneticMomentField(const tString &fileName, const tReal &dt, const tInteger &nTimeSteps, const tIndex &nParticles, const tDimension &dim, const tReal *mu_s)
save the particles coordinate from field mu at simulation
Definition: SM_Output.cpp:193
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_Output.h:70
SM_Output(void)
create
Definition: SM_Output.cpp:18
virtual ~SM_Output(void)
destroy
Definition: SM_Output.cpp:24
void setSimulations(std::initializer_list< tIndex > &&simulationIndices)
set the simulations index to save
Definition: SM_Output.h:96
This class is a simulation of one trajectory class for Stoch Microm package.
Definition: SM_System.h:51
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 tBoolean
Definition: types.h:151
#define tReal
Definition: types.h:137