86 tUIndex i1=cn.rfind(
"Operator");
88 return cn.substr(i0+1,i1-i0-1);
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
virtual tBoolean backup(const tString &prefix, const tString &suffix, const tString &ext) const
backup of the operator data into file(s) used for restoring
Definition: EMM_Operator.h:226
const tReal & getElementVolume() const
return the adimensionized volume of the element
Definition: EMM_Operator.h:110
DEFINE_SPTR(EMM_Operator)
virtual tBoolean restore(const EMM_LandauLifschitzSystem &system, const tString &prefix, const tString &suffix, const tString &ext)
restore the operator data from file(s)
Definition: EMM_Operator.h:236
DEFINE_SVPTR(EMM_Operator)
tBoolean mIsCubic
Definition: EMM_Operator.h:34
virtual tBoolean getDataField(const tUSInt &index, tString &dataName, tUIndex &n, tDimension &dim, const double *&values) const
get the data field at index for saving data in vtk,txt,... files.
Definition: EMM_Operator.h:194
virtual tString getName() const
return an human reading name of the operator
Definition: EMM_Operator.h:80
virtual tBoolean isGradientComputationable() const =0
return true if the gradient of the magnetic excitation is computationable
virtual tBoolean getDataFieldSpace(const tUSInt &index, tString &dataName, tFlag &supportType, tString &dFieldType, tUIndex &n, tDimension &dim) const
get the data field at index for saving data in vtk,txt,... files.
Definition: EMM_Operator.h:164
#define tUSInt
Definition: types.h:28
virtual tUSInt getDataFieldsNumber() const
get the number of feild used in the operator
Definition: EMM_Operator.h:151
#define tBoolean
Definition: types.h:139
virtual tBoolean updateAtNextTimeStep(const tReal &dt, const EMM_RealArray &sigma, const EMM_RealField &Mt)=0
update the data of operator at next time step
tString getClassName() const
return the class name of the object
Definition: CORE_Object.cpp:70
static const tFlag ELEMENT
Definition: EMM_Grid3D.h:69
virtual tBoolean isAffine() const =0
return true if the operator is either constant or linear
virtual tBoolean getDataField(const tUSInt &index, tString &dataName, tUIndex &n, tDimension &dim, const float *&values) const
get the data field at index for saving data in vtk,txt,... files.
Definition: EMM_Operator.h:180
#define tDimension
Definition: EMM_Types.h:10
const tBoolean & isCubicVolume() const
return the true if the element is cubic
Definition: EMM_Operator.h:103
virtual tBoolean resetToInitialState(const EMM_LandauLifschitzSystem &system)=0
reset the data of the operator to its initial step t=0
tReal mElementVolume
Definition: EMM_Operator.h:33
This class is an operator of a E-MicromM package which computes the field of the operator with respec...
Definition: EMM_Operator.h:24
This class describes a resolution of landau-lifschitz system of the Core Package for E-MicroM...
Definition: EMM_LandauLifschitzSystem.h:88
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
#define tString
Definition: types.h:135
virtual tBoolean computeFieldsAtTime(const tReal &t, const tFlag &order, const EMM_RealArray &sigma, const EMM_RealField &dM_dt0, const EMM_RealField &M0)=0
compute the fields of operator at time
EMM_Operator(void)
create
Definition: EMM_Operator.cpp:7
virtual ~EMM_Operator(void)
destroy
Definition: EMM_Operator.cpp:16
#define tULLInt
Definition: types.h:45
This class describes a real field.
Definition: EMM_RealField.h:21
virtual void adimensionize(const tReal &Le, const tReal &Ms, const tReal &T, const tReal &L)
adimensionize the operator
Definition: EMM_Operator.h:127
virtual tBoolean getDataField(const tUSInt &index, tString &dataName, tUIndex &n, tDimension &dim, const long double *&values) const
get the data field at index for saving data in vtk,txt,... files.
Definition: EMM_Operator.h:208
#define tReal
Definition: types.h:118
virtual tULLInt getMemorySize() const
return the memory size in byte
Definition: EMM_Operator.h:71
virtual tBoolean discretize(const EMM_LandauLifschitzSystem &system)
discretize and initialize the operator
Definition: EMM_Operator.cpp:19
#define tFlag
Definition: types.h:74