|
C++ mpi module for stochmagnet_main Package
|
This class is a beam output interface for VTK / Paraview software. More...
#include <SM_VTK.h>


Public Member Functions | |
| SM_VTK (void) | |
| create | |
| virtual | ~SM_VTK (void) |
| destroy | |
| virtual tMemSize | getMemorySize () const |
| return the memory size of the class and the memory size of all its attributes/associations More... | |
| virtual tMemSize | getContentsMemorySize () const |
| return the memory size of the included associations More... | |
| template<class T > | |
| tString | getVTKType () const |
| return the VTK type of the template Type More... | |
| tString | getVTKType (const tString &typeName) const |
| return the VTK type of tthe type name More... | |
| void | setFileName (const tString &fn) |
| set the file name without extension More... | |
| const tString & | getFileName () const |
| get the file name without extension More... | |
| void | setFields (const tUCInt &dim, const tFlag &support, const std::vector< tString > &names) |
| initialize fields More... | |
| const tBoolean & | isFileOpened () const |
| return true if the file is open | |
| tBoolean | save (const SM_Network &network, const tIndex &it, const tReal &time) |
| save the system at time More... | |
| tBoolean | save (const SM_System &system, const tIndex &it, const tReal &time) |
| save the system at time More... | |
| tBoolean | save (const tString &vtkFileName, const SM_Network &network, const tString &Sname, const tReal &alpha, SM_RealField &S) |
| save the system at time More... | |
| tBoolean | save (const SM_Network &network, const tString &Sname, const tReal &alpha, const SM_RealField &S, const tIndex &it, const tReal &time) |
| save the system at time More... | |
| tBoolean | open () |
| open the vtkfile More... | |
| tBoolean | open (const tIndex &t) |
| open the vtk field for writing or appending at the time step More... | |
| tBoolean | writeGeometryHeader (const tIndex &t, const SM_Network &network) |
| write the geometry header corresponding to the network More... | |
| tBoolean | writeGeometryData (const tIndex &t, const SM_Network &network) |
| write the geometry data of the network More... | |
| tBoolean | writeContentHeader (const tIndex &t, const tFlag &support, const std::vector< tString > &scalarNames, const std::vector< tString > &vectorNames) |
| write a content header More... | |
| tBoolean | writeContentData (const tReal &t, const SM_Network &network, const tFlag &support, const tString &name, const tReal &alpha, const tReal *f) |
| write a content data More... | |
| tBoolean | writeContentFooter (const tIndex &t, const tFlag &support) |
| write a content footer More... | |
| tBoolean | writeGeometryFooter (const tIndex &t) |
| write the geometry footer More... | |
| tBoolean | close (const tIndex &t) |
| close the file for the time step t More... | |
| tBoolean | close () |
| close the file More... | |
Public Member Functions inherited from SM_Object | |
| SM_Object (void) | |
| create | |
| virtual | ~SM_Object (void) |
| destroy | |
Public Member Functions inherited from CORE_Object | |
| template<class T > | |
| std::shared_ptr< T > | getSharedPointer () |
| return the shared pointer for this More... | |
| template<class T > | |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| return a const shared pointer for this More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| test if the clas T is an instance of this class More... | |
| tString | getClassName () const |
| return the name of the class More... | |
| tString | getPointerString () const |
| retrun the pointer of the class as a string More... | |
| tString | getIdentityString () const |
| retrun the string identification of the class More... | |
| virtual tString | toString () const |
| return the string representation of the object node More... | |
Static Public Attributes | |
| static const tFlag | CELL =0 |
| cell tag | |
| static const tFlag | POINT =1 |
| point tag | |
Protected Member Functions | |
| void | setIsFileOpened (const tBoolean &v) |
| set true is the file is opened | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
Additional Inherited Members | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
This class is a beam output interface for VTK / Paraview software.
|
inline |
close the file
|
inline |
close the file for the time step t
| [in] | t | the time step number |
|
inlinevirtual |
return the memory size of the included associations
Reimplemented from CORE_Object.
Reimplemented in SM_XDMF.
|
inline |
get the file name without extension
|
inlinevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from SM_Object.
Reimplemented in SM_XDMF.
|
inline |
return the VTK type of the template Type
| T | : C++ type to get the corresponding VTK type |
| tString SM_VTK< VTK_Impl >::getVTKType | ( | const tString & | typeName | ) | const |
return the VTK type of tthe type name
return the VTK type of the template Type
| [in] | typeName | the name of the type:
|
|
inline |
open the vtkfile
|
inline |
open the vtk field for writing or appending at the time step
| [in] | t | the time index |
|
inline |
save the system at time
| [in] | network | : network to save |
| [in] | it | : index of time |
| [in] | time | : time |
|
inline |
save the system at time
| [in] | network | : network on with the S field is applied |
| [in] | Sname | name of the field |
| [in] | alpha | : multiplicator os S |
| [in] | S | : value of the S field |
| [in] | it | : index of time |
| [in] | time | : time value |
|
inline |
save the system at time
| [in] | system | : system to save |
| [in] | it | : index of time |
| [in] | time | : time |
|
inline |
save the system at time
| [in] | vtkFileName | name of the ctk |
| [in] | network | network whe eS is computed |
| [in] | Sname | : name of field S |
| [in] | alpha | factro of S |
| [in] | S | : direction of magnetic moments |
|
inline |
initialize fields
| [in] | dim | : dimension of the field |
| [in] | support | : support of field in {CELL,POINT} |
| [in] | names | names of files |
|
inline |
set the file name without extension
| fn | : the absolute file name without extension |
|
inline |
write a content data
| [in] | t | the time for the content data |
| [in] | network | the mesh of the field at t |
| [in] | support | type of support of the field in {SM_VTP::CELL,SM_VTP::POINT} |
| [in] | name | name of the field |
| [in] | alpha | factor of f |
| [in] | f | the field to write |
|
inline |
write a content footer
| [in] | t | the time step for the content header |
| [in] | support | type of support in {SM_VTP::CELL,SM_VTP::POINT} |
|
inline |
write a content header
| [in] | t | the time step for the content header |
| [in] | support | type of support in {SM_VTP::CELL,SM_VTP::POINT} |
| [in] | scalarNames | the names of the scalar field to save on support |
| [in] | vectorNames | the names of the vector field to save on support |
|
inline |
write the geometry data of the network
| [in] | t | the time step for the geometry data |
| [in] | network | the geometry data |
|
inline |
write the geometry footer
| [in] | t | the time step for the geometry footer |
|
inline |
write the geometry header corresponding to the network
| [in] | t | the time step for the geometry header |
| [in] | network | the network to take information for building the header |