101 return getVTKType(core_functions::getTypeName<T>());
181 const tFlag& support,
182 const std::vector<tString>& scalarNames,
183 const std::vector<tString>& vectorNames)=0;
196 const tFlag& support,
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
This class is a beam output interface for VTK / Paraview software.
Definition: SM_VTK.h:22
void setFileName(const tString &fn)
set the file name without extension
Definition: SM_VTK.h:124
virtual tBoolean writeGeometryHeader(const tIndex &t, const SM_Network &network)=0
write the geometry header corresponding to the network
virtual tBoolean close(const tIndex &t)=0
close the file for the time step t
virtual tBoolean writeContentFooter(const tIndex &t, const tFlag &support)=0
write a content footer
virtual tBoolean save(const SM_Beam &beam, const tIndex &s)
save the s-th trajectory of the beam
Definition: SM_VTK.cpp:50
virtual tBoolean writeGeometryData(const tIndex &t, const SM_Network &network)=0
write the geometry data of the network
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_VTK.h:73
static const tFlag POINT
Definition: SM_VTK.h:27
virtual tBoolean open()=0
open the vtkfile
virtual ~SM_VTK(void)
destroy
Definition: SM_VTK.cpp:16
const tString & getFileName() const
get the file name without extension
Definition: SM_VTK.h:131
virtual tBoolean writeGeometryFooter(const tIndex &t)=0
write the geometry footer
static const tFlag CELL
Definition: SM_VTK.h:26
tString mFileName
Definition: SM_VTK.h:33
virtual tBoolean writeContentData(const tIndex &t, const SM_Network &network, const tFlag &support, const tString &name, const tReal *f)=0
write a content data
SM_VTK(void)
create
Definition: SM_VTK.cpp:12
virtual tBoolean writeContentHeader(const tIndex &t, const tFlag &support, const std::vector< tString > &scalarNames, const std::vector< tString > &vectorNames)=0
write a content header
virtual tBoolean close()=0
close the file
virtual tBoolean open(const tIndex &t)=0
open the vtk field for writing or appending at the time step
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_VTK.h:85
tString getVTKType() const
return the VTK type of the template Type
Definition: SM_VTK.h:100
#define tFlag
Definition: types.h:91
#define tIndex
Definition: types.h:157
#define tString
Definition: types.h:147
#define tMemSize
Definition: types.h:166
#define tBoolean
Definition: types.h:151
#define tReal
Definition: types.h:137