57 inline static SP::EMM_Output
New() {
85 return save(system,
"");
115 return save(system,strIndex);
133 const tReal *Fvalues;
135 return saveVTI(Nx,Ny,Nz,Hx,Hy,Hz,
159 tReal Ox=(Nx*(1-Hx))/2;
160 tReal Oy=(Ny*(1-Hy))/2;
161 tReal Oz=(Nz*(1-Hz))/2;
163 return saveVTI(Ox,Oy,Oz,Nx,Ny,Nz,Hx,Hy,Hz,
164 Fname,n,dim,Fvalues,fileName);
virtual tUIndex getSize() const =0
return the size of the field
This class is a I/O class for E-MicroM core package.
Definition: EMM_IO.h:16
#define tUInteger
Definition: types.h:91
tBoolean saveBackup(const EMM_LandauLifschitzSystem &system, const tInteger &backupIndex)
save the backup of the system in vti,txt files (M, data of each operator)
Definition: EMM_Output.h:111
#define tBoolean
Definition: types.h:139
static SP::EMM_Output New()
create an output class
Definition: EMM_Output.h:57
This class is a Output class for E-MicroM core package.
Definition: EMM_Output.h:17
EMM_RealArray mModule
Definition: EMM_Output.h:31
tString toString() const
return the string associated to the integer
Definition: CORE_Integer.h:106
#define tDimension
Definition: EMM_Types.h:10
virtual tBoolean save(const EMM_LandauLifschitzSystem &system)
save the system data in vti and txt files (M, data of each operator)
Definition: EMM_Output.h:84
tBoolean saveFieldToAIMFile(const EMM_RealField &M, const EMM_RealField &H) const
save the field M and the module of the field H in aim file
Definition: EMM_Output.cpp:440
tBoolean saveVTI(const EMM_LandauLifschitzSystem &system)
save the system in vti for viewing
Definition: EMM_Output.h:203
virtual ~EMM_Output(void)
destroy
Definition: EMM_Output.cpp:17
const tUSInt & getFileDigitsNumber() const
get the file digits number
Definition: EMM_IO.h:102
tBoolean saveFieldToTXTFile(const EMM_RealField &M, const tString &fileName) const
save the field in txt file with suffix in txt file
Definition: EMM_Output.cpp:431
This class describes a resolution of landau-lifschitz system of the Core Package for E-MicroM...
Definition: EMM_LandauLifschitzSystem.h:88
SP::EMM_VTK mVTK
Definition: EMM_Output.h:28
virtual tBoolean getValues(tUIndex &size, const float *&values) const
get the values
Definition: EMM_RealField.h:585
const tString & getPath() const
get the path
Definition: EMM_IO.h:88
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
const tDimension & getDimension() const
get the dimension
Definition: EMM_RealField.h:553
#define tString
Definition: types.h:135
const tString & getPrefix() const
get the prefix
Definition: EMM_IO.h:95
static tBoolean saveVTI(const tUInteger &Nx, const tUInteger &Ny, const tUInteger &Nz, const tReal &Hx, const tReal &Hy, const tReal &Hz, const tString &Fname, const tUIndex &n, const tDimension &dim, const tReal *Fvalues, const tString &fileName)
save the field in VTI file
Definition: EMM_Output.h:155
EMM_Output(void)
create
Definition: EMM_Output.cpp:7
This class describes a real field.
Definition: EMM_RealField.h:21
tBoolean saveRelaxation(const EMM_LandauLifschitzSystem &system, const tString &fileName)
save the relaxation
Definition: EMM_Output.cpp:66
static tBoolean saveVTI(const tUInteger &Nx, const tUInteger &Ny, const tUInteger &Nz, const tReal &Hx, const tReal &Hy, const tReal &Hz, const tString &Fname, const EMM_RealField &F, const tString &fileName)
save the field in VTI file
Definition: EMM_Output.h:129
#define tReal
Definition: types.h:118
#define tInteger
Definition: types.h:90
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141