C++ main module for emicrom Package  1.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
EMM_RealField Class Referenceabstract

This class describes a real field. More...

#include <EMM_RealField.h>

Inheritance diagram for EMM_RealField:
Inheritance graph
[legend]
Collaboration diagram for EMM_RealField:
Collaboration graph
[legend]

Public Member Functions

 EMM_RealField ()
 create the interface More...
 
virtual ~EMM_RealField (void)
 destroy the interface More...
 
EMM_RealFieldoperator= (const tReal &f)
 init the field to uniform value in each direction More...
 
EMM_RealFieldoperator= (const tReal f[4])
 init the field to the vector f More...
 
EMM_RealFieldoperator= (const EMM_RealField &f)
 copy the real steady field More...
 
EMM_RealFieldoperator+= (const EMM_RealField &f)
 add a field This+=f More...
 
EMM_RealFieldoperator-= (const EMM_RealField &f)
 sub a field This-=f More...
 
EMM_RealFieldoperator/= (const tReal &f)
 divide with respect of a real More...
 
EMM_RealFieldoperator*= (const tReal &f)
 multiply the field by f More...
 
EMM_RealFieldoperator*= (const EMM_RealArray &f)
 multiply a vector field by a scalar field to obtain a real field : for all i in [0,N[ for all d in [0,3[, This[i][d]*=f[i] More...
 
EMM_RealFieldoperator/= (const EMM_RealArray &f)
 
virtual SP::EMM_RealField NewInstance () const =0
 create a new instance of real field with the same dimension and size More...
 
virtual void copy (const EMM_RealField &f)=0
 copy the real vector More...
 
void setDimension (const tDimension &d)
 set the dimension More...
 
virtual void setSize (const tUIndex &n)=0
 set the size More...
 
virtual void fitToSize ()=0
 fit the memory size to the size More...
 
virtual void initField (const tReal &f)=0
 init the field to uniform value in each direction More...
 
void initField (const EMM_RealField &f)
 init the field to uniform value in each direction More...
 
virtual tBoolean initField (const tString &fileName)=0
 init the field by the file name More...
 
virtual void initField (const tReal &v, const EMM_RealField &f)=0
 init the field to this=v.f More...
 
virtual void initField (const EMM_RealArray &alpha, const EMM_RealField &f)=0
 init the field to the field multiplied by alpha This=alpha.f More...
 
virtual void initField (const tReal &s, const EMM_RealArray &alpha, const tSInt &p, const EMM_RealField &f)=0
 init the field to the field multiplied by alpha This=s.alpha.f More...
 
virtual void initField (const tUIndex &from, const tUIndex &to, const EMM_RealField &C)=0
 init a part of field to field More...
 
void initField (const tReal &fx, const tReal &fy, const tReal &fz)
 init the field to the 3D vector More...
 
virtual void initField (const tUIndex &from, const tUIndex &to, const tReal &fx, const tReal &fy, const tReal &fz)=0
 init the field to the 3D vector More...
 
virtual void unmagnetized (const EMM_Grid3D &mesh)=0
 unmagnetized the field in the mesh More...
 
void setValue (const tUIndex &i, const tDimension &k, const tReal &v)
 set the value at point i and for coordinate k More...
 
virtual void setValue (const tUIndex &i, const tReal &v)=0
 set the value of the element at index i More...
 
virtual void setValue (const tUIndex &i, const tReal vs[])=0
 get the vector value at point i of size dim More...
 
virtual void setFieldByReference (const tUIndex &from, const tUIndex &to, EMM_RealField &X)=0
 set the field by reference More...
 
virtual void wedge (const EMM_RealField &X, EMM_RealField &Y) const =0
 compute the vectorial product of two fields This & X Y=This ^ X More...
 
virtual void wedge (const tReal &alpha, const EMM_RealField &X, EMM_RealField &Y) const =0
 compute the vectorial product of two fields This & X Y=alpha This ^ X More...
 
virtual tReal dot (const EMM_RealField &F) const
 compute the scalar product More...
 
virtual tReal dot (const EMM_RealArray &sigma, const EMM_RealField &F) const
 compute the scalar product More...
 
virtual tReal dot (const EMM_RealField &F, const EMM_RealField &G) const =0
 compute the weight scalar product <F,G> More...
 
virtual tReal dot (const EMM_RealArray &sigma, const EMM_RealField &F, const EMM_RealField &G) const =0
 compute the weight scalar product <F,G> over the domain More...
 
tReal dot (const tUInt &q, const EMM_RealField &G) const
 compute the $ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $ More...
 
virtual tReal dot (const tUInt &q, const EMM_RealField &F, const EMM_RealField &G) const =0
 compute the $ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $ More...
 
virtual tReal dot (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &G) const
 compute the $ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $ More...
 
virtual tReal dot (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G) const =0
 compute the $ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $ More...
 
virtual void dotArray (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const =0
 compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $ More...
 
virtual void dotArray (const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const =0
 compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $ More...
 
virtual void dotArray (const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const =0
 compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $ More...
 
virtual void dotArray (const tUInt &q, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const =0
 compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $ More...
 
void dotArray (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &G, EMM_RealArray &R) const
 compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $ More...
 
void dotArray (const tUInt &q, const EMM_RealField &G, EMM_RealArray &R) const
 compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $ More...
 
void dotArray (const EMM_RealArray &w, const EMM_RealField &G, EMM_RealArray &R) const
 compute the array $ \forall i \in [0,n[, R_i= w_i (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $ More...
 
void dotArray (const EMM_RealField &G, EMM_RealArray &R) const
 compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} T_{ik}.G_{ik})$ More...
 
virtual void add (const tReal &alpha, const EMM_RealField &X)=0
 compute This += alpha. X More...
 
virtual void add (const EMM_RealArray &alphas, const EMM_RealField &X)=0
 This+=alpha.X. More...
 
virtual void add (const tReal &s, const EMM_RealArray &alphas, const tSInt &p, const EMM_RealField &X)=0
 This+=s.alpha^p.X This[i][d]+=s.alpha[i]^p.X[i][d]. More...
 
virtual void normalize ()=0
 normalize the field More...
 
virtual void mean (tReal *mean) const =0
 compute the mean of each direction More...
 
virtual void mean (const EMM_RealArray &w, tReal *mean) const =0
 compute the mean of each direction with respect of weight More...
 
virtual tULLInt getMemorySize () const =0
 return the memory size in bytes More...
 
virtual tUIndex getSize () const =0
 return the size of the field More...
 
const tDimensiongetDimension () const
 get the dimension More...
 
tReal getValue (const tUIndex &i, const tDimension &k) const
 get the value at point i and for coordinate k More...
 
virtual void getValue (const tUIndex &i, tReal vs[]) const =0
 get the vector value at point i of size dim More...
 
virtual tReal getValue (const tUIndex &i) const =0
 get the value at element at index More...
 
virtual tBoolean getValues (tUIndex &size, const float *&values) const
 get the values More...
 
virtual tBoolean getValues (tUIndex &size, const double *&values) const
 get the values More...
 
virtual tBoolean getValues (tUIndex &size, const long double *&values) const
 get the values More...
 
virtual tBoolean getValues (tUIndex &size, float *&values)
 get the values More...
 
virtual tBoolean getValues (tUIndex &size, double *&values)
 get the values More...
 
virtual tBoolean getValues (tUIndex &size, long double *&values)
 get the values More...
 
virtual tString getTypeToString () const =0
 return the pointer to the values More...
 
virtual void add (const EMM_RealField &f)=0
 compute This+=f More...
 
virtual void sub (const EMM_RealField &f)=0
 compute This-=f More...
 
virtual void divideBy (const tReal &f)=0
 compute This/=f More...
 
virtual void multiplyBy (const tReal &f)=0
 compute This*=f More...
 
virtual void multiplyBy (const EMM_RealArray &f)=0
 compute This*=f More...
 
virtual void divideBy (const EMM_RealArray &f)=0
 compute This/=f More...
 
virtual tReal norm (const tUIndex &index) const =0
 compute the norm at point at index i More...
 
virtual void norm (EMM_RealArray &module) const =0
 compute the norm at each point More...
 
virtual tReal normMax (tUIndex &index) const =0
 compute the point where the norm is max More...
 
virtual tReal distanceMax (const EMM_RealField &B, tUIndex &k) const =0
 compute the Max_i ||this[i]-B[i]|| More...
 
virtual tBoolean cellDataToPointData (const EMM_Grid3D &mesh)=0
 turn the field from cell data to point data More...
 
virtual tBoolean pointDataToCellData (const EMM_Grid3D &mesh)=0
 turn the field from point data to cll data More...
 
virtual tString toString (const tUIndex &n) const =0
 return the string representation of the field More...
 
virtual tString toString () const
 return the string representation of the field More...
 
tBoolean loadFromFile (const tString &fileName)
 load the steady array from file More...
 
virtual tBoolean loadFromStream (ifstream &f, const tUSInt &dim)=0
 load the steady array from stream More...
 
virtual tBoolean loadFromStream (ifstream &f, vector< EMM_RealArray *> &indics)=0
 load the field and indicators associated to the field the stream will contain the values of the field. 3 value per line followed by indicators value More...
 
tBoolean saveToFile (const tString &fileName) const
 save the steady array into file More...
 
virtual tBoolean saveToStream (ofstream &stream) const =0
 save the array into stream and indicators the stream will contain the values of the field. 3 value per line More...
 
virtual tBoolean saveToStream (ofstream &f, const vector< const EMM_RealArray *> &indics) const =0
 save the field and indicators associated to the field the stream will contain the values of the field. 3 value per line followed by indicator values More...
 
virtual tBoolean saveToVTKStream (ofstream &file, EMM_VTK &vtk, const EMM_RealArray &weight, const tString &name) const =0
 save the field in vtk More...
 
virtual tBoolean saveToVTKStream (ofstream &file, EMM_VTK &vtk, const tString &name) const =0
 save the field in vtk More...
 
void getSharedPointer (SP::CORE_Object &p)
 get the shared pointer of this class into p More...
 
void getSharedPointer (SPC::CORE_Object &p) const
 get the shared pointer of this class into p More...
 
tString getClassName () const
 return the class name of the object More...
 
tString getIdentityString () const
 return the identity string of the object of the form className_at_address More...
 
tString getPointerAddress () const
 return the identity string of the object More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tBoolean isInstanceOf (const tString &name) const
 test if the object is an instance of className More...
 

Static Public Member Functions

static void mean (const tUIndex &nCells, const tDimension &dim, const tReal *vs, tReal *mean)
 compute the mean of the array of size N x dim More...
 
static void mean (const tUIndex &nCells, const tDimension &dim, const tReal *ws, const tReal *vs, tReal *mean)
 compute the mean of the array of size N x dim More...
 
static void setIsMemoryChecked (const tBoolean &v)
 set if the memory checking is used More...
 
static void setOut (SP::CORE_Out out)
 set the output stream More...
 
static void resetOut ()
 reset the output stream More...
 
static void setThread (SP::CORE_Thread thread)
 set the thread More...
 
static void resetThread ()
 reset the output stream More...
 
static CORE_Outout ()
 get the output More...
 
static SP::CORE_Out getOut ()
 get the output More...
 
static CORE_ThreadgetThread ()
 get the profilier More...
 
static const tBooleanisMemoryChecked ()
 get if the memory checking is used More...
 
static tString getClassName (const tString &identityString)
 return the class name of the object More...
 
template<class T >
static tString getTypeName ()
 get type name More...
 
static tBoolean is64Architecture ()
 return true if the machine is a 64 bits machine More...
 
static tBoolean is32Architecture ()
 return true if the machine is a 32 bits machine More...
 
static tString pointer2String (const void *obj)
 return the string representation of a pointer More...
 
static void printObjectsInMemory (ostream &f)
 print object in memory More...
 
static void printObjectsInMemory ()
 print object in memory in the standart output More...
 
static tChar getMaxChar ()
 get the max value for tChar type More...
 
static tChar getMinChar ()
 get the min value for tChar type More...
 
static tUChar getMaxUChar ()
 get the max value for tUChar type More...
 
static tUChar getMinUChar ()
 get the min value for tUChar type More...
 
static tSInt getMaxSInt ()
 get the max value for tSInt type More...
 
static tSInt getMinSInt ()
 get the min value for tSInt type More...
 
static tUSInt getMaxUSInt ()
 get the max value for tUSInt type More...
 
static tUSInt getMinUSInt ()
 get the min value for tUSInt type More...
 
static tInt getMaxInt ()
 get the max value for tInt type More...
 
static tInt getMinInt ()
 get the min value for tInt type More...
 
static tUInt getMaxUInt ()
 get the max value for tUInt type More...
 
static tUInt getMinUInt ()
 get the min value for tUInt type More...
 
static tLInt getMaxLInt ()
 get the max value for tLInt type More...
 
static tLInt getMinLInt ()
 get the min value for tLInt type More...
 
static tULInt getMaxULInt ()
 get the max value for tULInt type More...
 
static tULInt getMinULInt ()
 get the min value for tULInt type More...
 
static tLLInt getMaxLLInt ()
 get the max value for tULInt type More...
 
static tLLInt getMinLLInt ()
 get the min value for tLLInt type More...
 
static tULLInt getMaxULLInt ()
 get the max value for tULLInt type More...
 
static tULLInt getMinULLInt ()
 get the min value for tULLInt type More...
 
static tFloat getMaxFloat ()
 get the max value for tFloat type More...
 
static tFloat getMinFloat ()
 get the min value for tFloat type More...
 
template<class T >
static T getEpsilon ()
 get the epsilon value for T type More...
 
template<class T >
static T getInfinity ()
 get the infinity for T type More...
 
static tFloat getFloatEpsilon ()
 get the epsilon value for tFloat type More...
 
static tFloat getFloatInfinity ()
 get the infinity value for tFloat type More...
 
static tDouble getMaxDouble ()
 get the max value for tDouble type More...
 
static tDouble getMinDouble ()
 get the min value for tDouble type More...
 
static tDouble getDoubleInfinity ()
 get the infinity value for tFloat type More...
 
static tDouble getDoubleEpsilon ()
 get the epsilon value for tDouble type More...
 
static tLDouble getMinLDouble ()
 get the min value for tLDouble type More...
 
static tLDouble getMaxLDouble ()
 get the max value for tLDouble type More...
 
static tLDouble getLDoubleEpsilon ()
 get the epsilon value for tLDouble type More...
 
static tDouble getLDoubleInfinity ()
 get the infinity value for tDouble type More...
 
static tIndex getMaxIndex ()
 get the max value for the array/vector indexing type More...
 
static tIndex getMinIndex ()
 get the min value for the array/vector indexing type More...
 
static tUIndex getMaxUIndex ()
 get the max value for difference the array/vector indexing type More...
 
static tUIndex getMinUIndex ()
 get the min value for difference the array/vector indexing type More...
 
static tFlag getMaxFlag ()
 get the max value for the tFlag type More...
 
static tFlag getMinFlag ()
 get the min value for the tFlag type More...
 
static tUInteger getMaxUInteger ()
 get the max value for the unsigned integer type More...
 
static tUInteger getMinUInteger ()
 get the min value for the unsigned integer type More...
 
static tInteger getMaxInteger ()
 get the max value for the integer type More...
 
static tInteger getMinInteger ()
 get the min value for the integer type More...
 
static tReal getMaxReal ()
 get the max value for the real type More...
 
static tReal getMinReal ()
 get the min value for the real type More...
 
static tReal getRealEpsilon ()
 get the eps which is the difference between 1 and the least value greater than 1 that is representable. More...
 
static tReal getRealInfinity ()
 get the infinity value More...
 
template<class T >
static T computeEpsilon ()
 compute epsilon More...
 

Static Public Attributes

static const tReal Mu0 =4*M_PI*1e-07
 
static const tReal Gamma =-1.7e11
 
static const tDimension X =0
 
static const tDimension Y =1
 
static const tDimension Z =2
 
static const tReal NULL_VALUE [] ={0,0,0}
 

Protected Member Functions

virtual void toDoAfterThisSetting ()
 method called after the setting of the shared pointer this method can only be called once. More...
 
void setThis (SP::CORE_Object p)
 set this weak shared pointer called toDoAfterThis setting method More...
 

Private Member Functions

 SP_OBJECT (EMM_RealField)
 

Private Attributes

tDimension mDimension
 

Detailed Description

This class describes a real field.

Author
Stéphane Despréaux
Version
1.0

Constructor & Destructor Documentation

◆ EMM_RealField()

EMM_RealField::EMM_RealField ( )

create the interface

References mDimension.

◆ ~EMM_RealField()

EMM_RealField::~EMM_RealField ( void  )
virtual

destroy the interface

Member Function Documentation

◆ add() [1/4]

virtual void EMM_RealField::add ( const tReal alpha,
const EMM_RealField X 
)
pure virtual

◆ add() [2/4]

virtual void EMM_RealField::add ( const EMM_RealArray alphas,
const EMM_RealField X 
)
pure virtual

This+=alpha.X.

Parameters
alphasthe alpha values different at any point of the mesh
X: the real field

Implemented in EMMG_RealField.

◆ add() [3/4]

virtual void EMM_RealField::add ( const tReal s,
const EMM_RealArray alphas,
const tSInt p,
const EMM_RealField X 
)
pure virtual

This+=s.alpha^p.X This[i][d]+=s.alpha[i]^p.X[i][d].

Parameters
sa constant value
alphasthe alpha values different at any point of the mesh
p:
X: the real field

Implemented in EMMG_RealField.

◆ add() [4/4]

virtual void EMM_RealField::add ( const EMM_RealField f)
pure virtual

compute This+=f

Parameters
f: the field to add If the size of f is less than the size of size, then f is supposed to be periodic untill reaching the size of this

Implemented in EMMG_RealField.

◆ cellDataToPointData()

virtual tBoolean EMM_RealField::cellDataToPointData ( const EMM_Grid3D mesh)
pure virtual

turn the field from cell data to point data

Parameters
meshthe mesh on which the field is defined
Returns
false if the field is not defined on cells

Implemented in EMMG_RealField.

Referenced by getValues().

Here is the caller graph for this function:

◆ computeEpsilon()

template<class T >
static T CORE_Object::computeEpsilon ( )
inlinestaticinherited

compute epsilon

Returns
the epsilon value eps=10^{-p/3} where p is defined by getEpsilon()=10^{-p}

◆ copy()

virtual void EMM_RealField::copy ( const EMM_RealField f)
pure virtual

◆ distanceMax()

virtual tReal EMM_RealField::distanceMax ( const EMM_RealField B,
tUIndex k 
) const
pure virtual

compute the Max_i ||this[i]-B[i]||

Parameters
Bthe B field to compare with this
kindex of the point where the norm difference is maximum
Returns
the max norm

Implemented in EMMG_RealField.

Referenced by EMMG_RealField::distanceMax(), and getValues().

Here is the caller graph for this function:

◆ divideBy() [1/2]

virtual void EMM_RealField::divideBy ( const tReal f)
pure virtual

compute This/=f

Parameters
fthe divisor factor

Implemented in EMMG_RealField.

Referenced by getValues(), and operator/=().

Here is the caller graph for this function:

◆ divideBy() [2/2]

virtual void EMM_RealField::divideBy ( const EMM_RealArray f)
pure virtual

compute This/=f

Parameters
fthe divisor factor by point

Implemented in EMMG_RealField.

◆ dot() [1/8]

virtual tReal EMM_RealField::dot ( const EMM_RealField F) const
inlinevirtual

◆ dot() [2/8]

virtual tReal EMM_RealField::dot ( const EMM_RealArray sigma,
const EMM_RealField F 
) const
inlinevirtual

compute the scalar product

Parameters
sigmathe weight array
Ffield
Returns
s: $ s=\displaystyle \sum_{i=0}^{i=N-1} \sigma_i \sum_{k=0}^{k=3} (*this)(i,k)*F(i,k) $

References dot(), and tReal.

Here is the call graph for this function:

◆ dot() [3/8]

virtual tReal EMM_RealField::dot ( const EMM_RealField F,
const EMM_RealField G 
) const
pure virtual

compute the weight scalar product <F,G>

Parameters
Ffirst field
Gsecond field
Returns
s: $ s=\displaystyle \sum_{i=0}^{i=N-1} \sum_{k=0}^{k=3} G(i,k)*F(i,k) $

Implemented in EMMG_RealField.

◆ dot() [4/8]

virtual tReal EMM_RealField::dot ( const EMM_RealArray sigma,
const EMM_RealField F,
const EMM_RealField G 
) const
pure virtual

compute the weight scalar product <F,G> over the domain

Parameters
sigmathe weight array
Ffirst field
Gsecond field
Returns
s: $ s=\displaystyle \sum_{i=0}^{i=N-1} \sigma_i \sum_{k=0}^{k=3} G(i,k)*F(i,k) $

Implemented in EMMG_RealField.

◆ dot() [5/8]

tReal EMM_RealField::dot ( const tUInt q,
const EMM_RealField G 
) const
inline

compute the $ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]G: d-field defined on n points
Returns
$ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

References dot(), getSize(), tReal, and tUInt.

Here is the call graph for this function:

◆ dot() [6/8]

virtual tReal EMM_RealField::dot ( const tUInt q,
const EMM_RealField F,
const EMM_RealField G 
) const
pure virtual

compute the $ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]F: d-field defined on n points
[in]G: d-field defined on n points
Returns
$ \sum_{i=0}^{n-1} (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Implemented in EMMG_RealField.

◆ dot() [7/8]

virtual tReal EMM_RealField::dot ( const tUInt q,
const EMM_RealArray w,
const EMM_RealField G 
) const
inlinevirtual

compute the $ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]wweight
[in]G: d-field defined on n points
Returns
$ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

References dot(), dotArray(), tReal, and tUInt.

Here is the call graph for this function:

◆ dot() [8/8]

virtual tReal EMM_RealField::dot ( const tUInt q,
const EMM_RealArray w,
const EMM_RealField F,
const EMM_RealField G 
) const
pure virtual

compute the $ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]wweight
[in]F: d-field defined on n points
[in]G: d-field defined on n points
Returns
$ \sum_{i=0}^{n-1} w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Implemented in EMMG_RealField.

◆ dotArray() [1/8]

virtual void EMM_RealField::dotArray ( const tUInt q,
const EMM_RealArray w,
const EMM_RealField F,
const EMM_RealField G,
EMM_RealArray R 
) const
pure virtual

compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]wweight
[in]F: d-field defined on n points
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Implemented in EMMG_RealField.

Referenced by dot(), and dotArray().

Here is the caller graph for this function:

◆ dotArray() [2/8]

virtual void EMM_RealField::dotArray ( const EMM_RealArray w,
const EMM_RealField F,
const EMM_RealField G,
EMM_RealArray R 
) const
pure virtual

compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $

Parameters
[in]wweight
[in]F: d-field defined on n points
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = w_i. (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $

Implemented in EMMG_RealField.

◆ dotArray() [3/8]

virtual void EMM_RealField::dotArray ( const EMM_RealField F,
const EMM_RealField G,
EMM_RealArray R 
) const
pure virtual

compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $

Parameters
[in]F: d-field defined on n points
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = (\sum_{k=0}^{d-1} F_{ik}.G_{ik}) $

Implemented in EMMG_RealField.

◆ dotArray() [4/8]

virtual void EMM_RealField::dotArray ( const tUInt q,
const EMM_RealField F,
const EMM_RealField G,
EMM_RealArray R 
) const
pure virtual

compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]F: d-field defined on n points
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = (\sum_{k=0}^{d-1} F_{ik}.G_{ik})^q$

Implemented in EMMG_RealField.

◆ dotArray() [5/8]

void EMM_RealField::dotArray ( const tUInt q,
const EMM_RealArray w,
const EMM_RealField G,
EMM_RealArray R 
) const
inline

compute the array $ \forall i \in [0,n[, R_i= w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]wweight
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = w_i. (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

References dotArray().

Here is the call graph for this function:

◆ dotArray() [6/8]

void EMM_RealField::dotArray ( const tUInt q,
const EMM_RealField G,
EMM_RealArray R 
) const
inline

compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

Parameters
[in]qthe power
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

References dotArray().

Here is the call graph for this function:

◆ dotArray() [7/8]

void EMM_RealField::dotArray ( const EMM_RealArray w,
const EMM_RealField G,
EMM_RealArray R 
) const
inline

compute the array $ \forall i \in [0,n[, R_i= w_i (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

Parameters
[in]wweight
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = w_i (\sum_{k=0}^{d-1} T_{ik}.G_{ik})^q $

References dotArray().

Here is the call graph for this function:

◆ dotArray() [8/8]

void EMM_RealField::dotArray ( const EMM_RealField G,
EMM_RealArray R 
) const
inline

compute the array $ \forall i \in [0,n[, R_i= (\sum_{k=0}^{d-1} T_{ik}.G_{ik})$

Parameters
[in]G: d-field defined on n points
[out]R: returned d-field defined on n points computes the array $ \forall i \in [0,n[, R_i = (\sum_{k=0}^{d-1} T_{ik}.G_{ik}) $

References add(), dotArray(), getMemorySize(), getSize(), mean(), normalize(), tDimension, tReal, tSInt, tUIndex, and tULLInt.

Here is the call graph for this function:

◆ fitToSize()

virtual void EMM_RealField::fitToSize ( )
pure virtual

fit the memory size to the size

Implemented in EMMG_RealField.

Referenced by EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), and setDimension().

Here is the caller graph for this function:

◆ getClassName() [1/2]

tString CORE_Object::getClassName ( ) const
inherited

return the class name of the object

Returns
the class name of the object

References tString.

Referenced by CORE_Object::getIdentityString(), EMM_Operator::getName(), and CORE_Object::isMemoryChecked().

Here is the caller graph for this function:

◆ getClassName() [2/2]

static tString CORE_Object::getClassName ( const tString identityString)
inlinestaticinherited

return the class name of the object

Parameters
identityStringthe identity string of the object
Returns
the class name

◆ getDimension()

const tDimension& EMM_RealField::getDimension ( ) const
inline

get the dimension

Returns
the dimension of the field in [0,3[

References mDimension.

Referenced by EMMG_RealField::add(), EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMMG_RealField::cellDataToPointData(), EMM_Test::compareField(), EMM_DisplacementFVMOperator::computeCineticEnergy(), EMMG_DisplacementFEMOperator::computeElasticStress(), EMMG_DisplacementFVM_SSGROperator::computeElasticStress(), EMMG_DisplacementFVM_STEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VTEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VOGGROperator::computeElasticStress(), EMM_DisplacementOperator::computeElasticStress(), EMM_DisplacementOperator::computeElasticTensor(), EMMG_MagnetostrictionOperator::computeEnergy(), EMMG_CubicAnisotropyOperator::computeEnergy(), EMMG_StaticMagneticTensorOperator::computeEnergy(), EMMG_MagnetostrictionOperator::computeEnergyWithMagneticExcitation(), EMMG_CubicAnisotropyOperator::computeEnergyWithMagneticExcitation(), EMMG_StaticMagneticTensorOperator::computeEnergyWithMagneticExcitation(), EMMG_AnisotropyOperator::computeEnergyWithMagneticExcitation(), EMM_DisplacementFVMOperator::computeEquilibriumMatrixDiagonalConditioner(), EMM_DisplacementFEMOperator::computeEquilibriumMatrixDiagonalConditioner(), EMMG_LandauLifschitzFunction::computeFunction(), EMMG_LandauLifschitzFunction::computeGradFunction(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationField(), EMMG_PlanarAnisotropyOperator::computeMagneticExcitationField(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationField(), EMMG_StaticMagnetostrictionOperator::computeMagneticExcitationField(), EMMG_MagnetostrictionOperator::computeMagneticExcitationField(), EMMG_AnisotropyOperator::computeMagneticExcitationField(), EMMG_MinimalExchangeOperator::computeMagneticExcitationField(), EMMG_FullExchangeOperator::computeMagneticExcitationField(), EMMG_LinearAnisotropyOperator::computeMagneticExcitationField(), EMMG_UniaxialAnisotropyOperator::computeMagneticExcitationField(), EMMG_DemagnetizedOperator::computeMagneticExcitationField(), EMMG_SLDemagnetizedOperator::computeMagneticExcitationField(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_AnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationFieldGradient(), EMMG_DisplacementFEMOperator::computeMagneticStress(), EMMG_DisplacementFVM_SSGROperator::computeMagneticStress(), EMMG_DisplacementFVM_STEGROperator::computeMagneticStress(), EMMG_DisplacementFVM_VTEGROperator::computeMagneticStress(), EMMG_DisplacementFVM_VOGGROperator::computeMagneticStress(), EMMG_LandauLifschitzFunction::computePartialGradMFunction(), EMM_DisplacementFEMOperator::computeStressConstraintEnergy(), EMMG_SLDemagnetizedOperator::computeWeightM(), EMMG_RealField::copy(), EMMG_RealField::distanceMax(), EMMG_RealField::divideBy(), EMMG_RealField::dot(), EMMG_RealField::dotArray(), EMM_DisplacementFVMOperator::getDataFieldSpace(), EMM_DisplacementFEMOperator::getDataFieldSpace(), EMMG_RealField::getSize(), EMMG_RealField::getValue(), getValue(), EMMG_RealField::getValues(), EMMG_RealField::initField(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMMG_RealField::loadFromStream(), EMMG_RealField::mean(), EMMG_RealField::multiplyBy(), EMMG_RealField::NewInstance(), EMMG_RealField::norm(), EMMG_RealField::normalize(), EMMG_RealField::normMax(), EMM_DisplacementOperator::nullProjectionOnDirichletBoundary(), EMMG_RealField::operator()(), EMM_DisplacementOperator::periodicProjection(), EMMG_RealField::pointDataToCellData(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_DisplacementOperator::projectionOnDirichletBoundary(), saveToFile(), EMMG_RealField::saveToStream(), EMMG_RealField::saveToVTKStream(), EMM_Output::saveVTI(), EMMG_RealField::setFieldByReference(), EMMG_RealField::setSize(), EMMG_RealField::setValue(), setValue(), EMM_CanonicalMassMatrix::solve(), EMM_CondensedMassMatrix::solve(), EMMG_RealField::sub(), EMM_CanonicalMassMatrix::symmetricDot(), EMM_BlockMassMatrix::symmetricDot(), EMM_CondensedMassMatrix::symmetricDot(), EMMG_RealField::toString(), EMMG_RealField::unmagnetized(), and EMMG_RealField::wedge().

Here is the caller graph for this function:

◆ getDoubleEpsilon()

static tDouble CORE_Object::getDoubleEpsilon ( )
inlinestaticinherited

get the epsilon value for tDouble type

Returns
the epsilon value for tDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getDoubleInfinity()

static tDouble CORE_Object::getDoubleInfinity ( )
inlinestaticinherited

get the infinity value for tFloat type

Returns
the intinity value for tFloat type

◆ getEpsilon()

template<class T >
static T CORE_Object::getEpsilon ( )
inlinestaticinherited

get the epsilon value for T type

Returns
the epsilon value for T type

◆ getFloatEpsilon()

static tFloat CORE_Object::getFloatEpsilon ( )
inlinestaticinherited

get the epsilon value for tFloat type

Returns
the epsilon value for tFloat type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getFloatInfinity()

static tFloat CORE_Object::getFloatInfinity ( )
inlinestaticinherited

get the infinity value for tFloat type

Returns
the intinity value for tFloat type

◆ getIdentityString()

tString CORE_Object::getIdentityString ( ) const
inlineinherited

◆ getInfinity()

template<class T >
static T CORE_Object::getInfinity ( )
inlinestaticinherited

get the infinity for T type

Returns
the infinity value for T type

◆ getLDoubleEpsilon()

static tLDouble CORE_Object::getLDoubleEpsilon ( )
inlinestaticinherited

get the epsilon value for tLDouble type

Returns
the epsilon value for tLDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getLDoubleInfinity()

static tDouble CORE_Object::getLDoubleInfinity ( )
inlinestaticinherited

get the infinity value for tDouble type

Returns
the infinity value for tDouble type

◆ getMaxChar()

static tChar CORE_Object::getMaxChar ( )
inlinestaticinherited

get the max value for tChar type

Returns
the max value for tChar type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxDouble()

static tDouble CORE_Object::getMaxDouble ( )
inlinestaticinherited

get the max value for tDouble type

Returns
the max value for tDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxFlag()

static tFlag CORE_Object::getMaxFlag ( )
inlinestaticinherited

get the max value for the tFlag type

Returns
the max value for the tFlag type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxFloat()

static tFloat CORE_Object::getMaxFloat ( )
inlinestaticinherited

get the max value for tFloat type

Returns
the max value for tFloat type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxIndex()

static tIndex CORE_Object::getMaxIndex ( )
inlinestaticinherited

get the max value for the array/vector indexing type

Returns
the max value for the array/vector indexing type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxInt()

static tInt CORE_Object::getMaxInt ( )
inlinestaticinherited

get the max value for tInt type

Returns
the max value for tInt type

Referenced by MATSGN_FFT::fastFourierTransform3D_FFTW(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxInteger()

static tInteger CORE_Object::getMaxInteger ( )
inlinestaticinherited

get the max value for the integer type

Returns
the max value for the integer type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxLDouble()

static tLDouble CORE_Object::getMaxLDouble ( )
inlinestaticinherited

get the max value for tLDouble type

Returns
the max value for tLDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxLInt()

static tLInt CORE_Object::getMaxLInt ( )
inlinestaticinherited

get the max value for tLInt type

Returns
the max value for tLInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxLLInt()

static tLLInt CORE_Object::getMaxLLInt ( )
inlinestaticinherited

get the max value for tULInt type

Returns
the max value for tULInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxReal()

static tReal CORE_Object::getMaxReal ( )
inlinestaticinherited

get the max value for the real type

Returns
he max value for the real type

Referenced by EMM_MatterField::adimensionize(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxSInt()

static tSInt CORE_Object::getMaxSInt ( )
inlinestaticinherited

get the max value for tSInt type

Returns
the max value for tSInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxUChar()

static tUChar CORE_Object::getMaxUChar ( )
inlinestaticinherited

get the max value for tUChar type

Returns
the max value for tUChar type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxUIndex()

static tUIndex CORE_Object::getMaxUIndex ( )
inlinestaticinherited

get the max value for difference the array/vector indexing type

Returns
the max value for difference the array/vector indexing type

Referenced by CORE_Vector< T >::addAfterIndices(), CORE_Vector< T >::search(), CORE_Test::testType(), CORE_Integer::toHexString(), and CORE_Integer::toString().

Here is the caller graph for this function:

◆ getMaxUInt()

static tUInt CORE_Object::getMaxUInt ( )
inlinestaticinherited

get the max value for tUInt type

Returns
the max value for tUInt type

Referenced by EMM_Array< tCellFlag >::loadFromFile(), loadFromFile(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxUInteger()

static tUInteger CORE_Object::getMaxUInteger ( )
inlinestaticinherited

get the max value for the unsigned integer type

Returns
the max value for the unsigned integer type

Referenced by MATH_Pn::computeExtrenums(), EMM_MultiScaleGrid::computeLevelsNumber(), EMM_Input::restoreBackup(), MATH_P0::solve(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxULInt()

static tULInt CORE_Object::getMaxULInt ( )
inlinestaticinherited

get the max value for tULInt type

Returns
the max value for tULInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxULLInt()

static tULLInt CORE_Object::getMaxULLInt ( )
inlinestaticinherited

get the max value for tULLInt type

Returns
the max value for tULLInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMaxUSInt()

static tUSInt CORE_Object::getMaxUSInt ( )
inlinestaticinherited

get the max value for tUSInt type

Returns
the max value for tUSInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMemorySize()

virtual tULLInt EMM_RealField::getMemorySize ( ) const
pure virtual

return the memory size in bytes

Returns
the memory size of the storage in bytes

Implemented in EMMG_RealField.

Referenced by dotArray().

Here is the caller graph for this function:

◆ getMinChar()

static tChar CORE_Object::getMinChar ( )
inlinestaticinherited

get the min value for tChar type

Returns
the min value for tChar type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinDouble()

static tDouble CORE_Object::getMinDouble ( )
inlinestaticinherited

get the min value for tDouble type

Returns
the min value for tDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinFlag()

static tFlag CORE_Object::getMinFlag ( )
inlinestaticinherited

get the min value for the tFlag type

Returns
the min value for the tFlag type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinFloat()

static tFloat CORE_Object::getMinFloat ( )
inlinestaticinherited

get the min value for tFloat type

Returns
the min value for tFloat type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinIndex()

static tIndex CORE_Object::getMinIndex ( )
inlinestaticinherited

get the min value for the array/vector indexing type

Returns
the min value for the array/vector indexing type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinInt()

static tInt CORE_Object::getMinInt ( )
inlinestaticinherited

get the min value for tInt type

Returns
the min value for tInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinInteger()

static tInteger CORE_Object::getMinInteger ( )
inlinestaticinherited

get the min value for the integer type

Returns
the minin value for the integer type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinLDouble()

static tLDouble CORE_Object::getMinLDouble ( )
inlinestaticinherited

get the min value for tLDouble type

Returns
the min value for tLDouble type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinLInt()

static tLInt CORE_Object::getMinLInt ( )
inlinestaticinherited

get the min value for tLInt type

Returns
the min value for tLInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinLLInt()

static tLLInt CORE_Object::getMinLLInt ( )
inlinestaticinherited

get the min value for tLLInt type

Returns
the min value for tLLInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinReal()

static tReal CORE_Object::getMinReal ( )
inlinestaticinherited

get the min value for the real type

Returns
the min value for the real type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinSInt()

static tSInt CORE_Object::getMinSInt ( )
inlinestaticinherited

get the min value for tSInt type

Returns
the min value for tSInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinUChar()

static tUChar CORE_Object::getMinUChar ( )
inlinestaticinherited

get the min value for tUChar type

Returns
the min value for tUChar type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinUIndex()

static tUIndex CORE_Object::getMinUIndex ( )
inlinestaticinherited

get the min value for difference the array/vector indexing type

Returns
the min value for difference the array/vector indexing type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinUInt()

static tUInt CORE_Object::getMinUInt ( )
inlinestaticinherited

get the min value for tUInt type

Returns
the min value for tUInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinUInteger()

static tUInteger CORE_Object::getMinUInteger ( )
inlinestaticinherited

get the min value for the unsigned integer type

Returns
the min value for the unsigned integer type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinULInt()

static tULInt CORE_Object::getMinULInt ( )
inlinestaticinherited

get the min value for tULInt type

Returns
the min value for tULInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinULLInt()

static tULLInt CORE_Object::getMinULLInt ( )
inlinestaticinherited

get the min value for tULLInt type

Returns
the min value for tULLInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getMinUSInt()

static tUSInt CORE_Object::getMinUSInt ( )
inlinestaticinherited

get the min value for tUSInt type

Returns
the min value for tUSInt type

Referenced by CORE_Test::testType().

Here is the caller graph for this function:

◆ getOut()

static SP::CORE_Out CORE_Object::getOut ( )
inlinestaticinherited

get the output

Returns
the shared pointer to the output stream

References CORE_Object::OUT.

◆ getPointerAddress()

tString CORE_Object::getPointerAddress ( ) const
inlineinherited

return the identity string of the object

Returns
the identity string of the object

References CORE_Object::pointer2String().

Here is the call graph for this function:

◆ getRealEpsilon()

static tReal CORE_Object::getRealEpsilon ( )
inlinestaticinherited

get the eps which is the difference between 1 and the least value greater than 1 that is representable.

Returns
the eps which is the difference between 1 and the least value greater than 1 that is representable.

Referenced by MATH_P4::solveP4De(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ getRealInfinity()

static tReal CORE_Object::getRealInfinity ( )
inlinestaticinherited

◆ getSharedPointer() [1/2]

void CORE_Object::getSharedPointer ( SP::CORE_Object &  p)
inlineinherited

◆ getSharedPointer() [2/2]

void CORE_Object::getSharedPointer ( SPC::CORE_Object &  p) const
inlineinherited

get the shared pointer of this class into p

Parameters
p: shared pointer of the class This

◆ getSize()

virtual tUIndex EMM_RealField::getSize ( ) const
pure virtual

return the size of the field

Returns
the size of the field

Implemented in EMMG_RealField.

Referenced by EMMG_RealField::add(), EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMM_Test::compareField(), EMM_DisplacementFEMOperator::computeCineticEnergy(), EMMG_DisplacementFEMOperator::computeElasticStress(), EMMG_DisplacementFVM_SSGROperator::computeElasticStress(), EMMG_DisplacementFVM_STEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VTEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VOGGROperator::computeElasticStress(), EMMG_MagnetostrictionOperator::computeEnergy(), EMMG_CubicAnisotropyOperator::computeEnergy(), EMMG_StaticMagneticTensorOperator::computeEnergy(), EMM_LandauLifschitzRelaxation::computeEnergyAtTime(), EMM_LandauLifschitzRelaxation::computeEnergyTimeDerivativeAtTime(), EMM_GradGaussLegendreRelaxation::computeEnergyTimeDerivativesAtTime(), EMMG_MagnetostrictionOperator::computeEnergyWithMagneticExcitation(), EMMG_CubicAnisotropyOperator::computeEnergyWithMagneticExcitation(), EMMG_StaticMagneticTensorOperator::computeEnergyWithMagneticExcitation(), EMMG_AnisotropyOperator::computeEnergyWithMagneticExcitation(), EMM_DisplacementOperator::computeFieldsAtTimeWithGL1Interpolation(), EMM_DisplacementOperator::computeFieldsAtTimeWithGLnInterpolation(), EMM_DisplacementOperator::computeFieldsAtTimeWithTE1(), EMM_DisplacementOperator::computeFieldsAtTimeWithTE2(), EMMG_LandauLifschitzFunction::computeFunction(), EMMG_LandauLifschitzFunction::computeGradFunction(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationField(), EMMG_PlanarAnisotropyOperator::computeMagneticExcitationField(), EMMG_MagnetostrictionOperator::computeMagneticExcitationField(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationField(), EMMG_StaticMagnetostrictionOperator::computeMagneticExcitationField(), EMMG_AnisotropyOperator::computeMagneticExcitationField(), EMMG_MinimalExchangeOperator::computeMagneticExcitationField(), EMMG_FullExchangeOperator::computeMagneticExcitationField(), EMMG_LinearAnisotropyOperator::computeMagneticExcitationField(), EMMG_UniaxialAnisotropyOperator::computeMagneticExcitationField(), EMMG_DemagnetizedOperator::computeMagneticExcitationField(), EMMG_SLDemagnetizedOperator::computeMagneticExcitationField(), EMM_LandauLifschitzSystem::computeMagneticExcitationField(), EMM_LandauLifschitzSystem::computeMagneticExcitationFieldAndEnergies(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_AnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationFieldGradient(), EMM_GradGaussLegendreRelaxation::computeMagneticExcitationFieldGradient(), EMMG_DisplacementFEMOperator::computeMagneticStress(), EMMG_DisplacementFVM_SSGROperator::computeMagneticStress(), EMMG_DisplacementFVM_STEGROperator::computeMagneticStress(), EMMG_DisplacementFVM_VTEGROperator::computeMagneticStress(), EMMG_DisplacementFVM_VOGGROperator::computeMagneticStress(), EMM_LandauLifschitzSystem::computeMagnetizationExcitationField(), EMM_GaussLegendreRelaxation::computeMagnetizationFieldAtTimeWithGLnInterpolation(), EMM_LandauLifschitzSystem::computeMeanField(), EMM_LandauLifschitzSystem::computeMeanMagnetizationField(), EMM_Test::computeMField(), EMMG_LandauLifschitzFunction::computePartialGradMFunction(), EMMG_SLDemagnetizedOperator::computeWeightM(), EMMG_RealField::copy(), EMM_LandauLifschitzSystem::discretize(), EMMG_RealField::dot(), dot(), EMMG_RealField::dotArray(), dotArray(), EMM_DisplacementFVMOperator::getDataFieldSpace(), EMM_DisplacementFEMOperator::getDataFieldSpace(), EMMG_RealField::initField(), initField(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_DisplacementOperator::projectionOnDirichletBoundary(), EMM_LandauLifschitzSystem::resetToInitialState(), EMM_Output::saveFieldToAIMFile(), EMM_DisplacementWaveTest::saveIntoFile(), saveToFile(), EMM_Output::saveVTI(), EMM_ZeemanOperator::setExternalMagneticExcitationField(), EMM_BlockEquilibriumMatrix::solve(), EMMG_RealField::sub(), and EMM_OperatorsTest::testEDerivatives().

Here is the caller graph for this function:

◆ getThread()

static CORE_Thread& CORE_Object::getThread ( )
inlinestaticinherited

get the profilier

Returns
the profiler

Referenced by MATH_MaskVector::add(), MATH_Vector::add(), EMM_DisplacementFEMOperator::addBoundaryElasticStress(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFVMOperator::computeCineticEnergy(), EMM_DisplacementFVMOperator::computeElasticStress(), EMM_DisplacementFEMOperator::computeElasticStress(), EMM_DisplacementFVMOperator::computeElasticTensor(), EMM_DisplacementFEMOperator::computeElasticTensor(), EMM_StaticMagneticTensorOperator::computeEnergy(), EMM_CubicAnisotropyOperator::computeEnergy(), EMM_MagnetostrictionOperator::computeEnergy(), EMM_DisplacementOperator::computeEnergy(), EMM_AnisotropyOperator::computeEnergyWithMagneticExcitation(), EMM_DisplacementFVMOperator::computeEquilibriumMatrixDiagonalConditioner(), EMM_DisplacementFEMOperator::computeEquilibriumMatrixDiagonalConditioner(), EMM_FullExchangeOperator::computeMagneticExcitationField(), EMM_StaticMagnetostrictionOperator::computeMagneticExcitationField(), EMM_LinearAnisotropyOperator::computeMagneticExcitationField(), EMM_StaticMagneticTensorOperator::computeMagneticExcitationField(), EMM_CubicAnisotropyOperator::computeMagneticExcitationField(), EMM_MinimalExchangeOperator::computeMagneticExcitationField(), EMM_AnisotropyOperator::computeMagneticExcitationField(), EMM_MagnetostrictionOperator::computeMagneticExcitationField(), EMM_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMM_AnisotropyOperator::computeMagneticExcitationFieldGradient(), EMM_DisplacementFVMOperator::computeMagneticStress(), EMM_DisplacementFEMOperator::computeMagneticStress(), EMM_OptimalTimeStep::computeOptimalTimeStep(), EMM_DisplacementFEMOperator::computeStressConstraintEnergy(), EMM_FullExchangeOperator::discretize(), EMM_MinimalExchangeOperator::discretize(), EMM_CondensedMassMatrix::discretize(), EMM_LinearAnisotropyOperator::discretize(), EMM_AnisotropyOperator::discretize(), EMM_DemagnetizedOperator::discretize(), EMMG_SLDemagnetizedOperator::discretize(), EMM_LandauLifschitzSystem::discretize(), MATH_Vector::divide(), MATH_MaskVector::dot(), MATH_Vector::dot(), EMM_4SymmetricTensors::doubleDot(), EMM_4Tensors::doubleDotCrossDoubleDotScalar(), EMM_4Tensors::doubleDotCrossProduct(), EMM_4Tensors::doubleDotCrossSquaredScalar(), EMM_4Tensors::doubleDotProduct(), MATH_Vector::init(), MATH_MaskVector::init(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMMG_SLDemagnetizedOperator::localAssembly(), EMM_DisplacementOperator::nullProjectionOnDirichletBoundary(), EMM_DisplacementOperator::periodicProjection(), EMM_2PackedSymmetricTensors::product(), EMM_CanonicalMassMatrix::product(), MATH_FullMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_BlockMassMatrix::product(), MATH_MorseMatrix::product(), EMMG_SLDemagnetizedOperator::product(), EMM_DisplacementOperator::projectionOnDirichletBoundary(), EMM_LandauLifschitzSystem::resetOperatorsToInitialState(), EMM_DisplacementFVMOperator::setBoundaryFaceTypes(), FFTW_MultiDFTs::setFFT(), FFTW_MultiLevelsDFT::setFFT(), FFTW_MultiLevelsDFT::setLevels(), FFTW_MultiDFTs::setPlan(), FFTW_MultiLevelsDFT::setPlan(), EMM_CondensedMassMatrix::solve(), EMM_LandauLifschitzODE::solveODE(), EMM_4SymmetricTensors::squaredDoubleDot(), EMM_4Tensors::squaredDoubleDotCrossScalar(), EMM_4Tensors::squaredDoubleDotScalar(), EMM_CanonicalMassMatrix::symmetricDot(), EMM_CondensedMassMatrix::symmetricDot(), EMM_BlockMassMatrix::symmetricDot(), FFTW_Test::test(), MATH_SolverTest::test(), EMM_ODETest::testODE(), and EMM_Grid3D::updateLimitConditionOnPoints().

Here is the caller graph for this function:

◆ getTypeName()

template<class T >
static tString CORE_Object::getTypeName ( )
inlinestaticinherited

get type name

Returns
the type name of the class

References tString.

◆ getTypeToString()

virtual tString EMM_RealField::getTypeToString ( ) const
pure virtual

return the pointer to the values

get the string type

Returns
the string type of the type in {"long double", "double","float"}

Implemented in EMMG_RealField.

Referenced by getValues().

Here is the caller graph for this function:

◆ getValue() [1/3]

tReal EMM_RealField::getValue ( const tUIndex i,
const tDimension k 
) const
inline

get the value at point i and for coordinate k

Parameters
iindex of the point in (0,getSize()[
k: coordinate of the point in [0,getDimension()[
Returns
the real value

References getDimension(), tReal, and tUIndex.

Referenced by EMM_Test::compareField(), and EMM_DisplacementWaveTest::saveIntoFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getValue() [2/3]

virtual void EMM_RealField::getValue ( const tUIndex i,
tReal  vs[] 
) const
pure virtual

get the vector value at point i of size dim

Parameters
iindex of the point in (0,getSize()[
vscoortdinate value of the point at index i

Implemented in EMMG_RealField.

◆ getValue() [3/3]

virtual tReal EMM_RealField::getValue ( const tUIndex i) const
pure virtual

get the value at element at index

Parameters
iindex of the element
Returns
the real value

Implemented in EMMG_RealField.

◆ getValues() [1/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
const float *&  values 
) const
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

Referenced by EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFVMOperator::computeCineticEnergy(), EMM_DisplacementFVMOperator::computeElasticStress(), EMM_DisplacementOperator::computeElasticStress(), EMM_DisplacementOperator::computeElasticTensor(), EMM_DisplacementFVM_VOGGROperator::computeGradUAtCell(), EMM_DisplacementFVM_SSGROperator::computeGradUAtFace(), EMM_DisplacementFEMOperator::computeStressConstraintEnergy(), EMMG_RealField::initField(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMM_DisplacementOperator::nullProjectionOnDirichletBoundary(), EMM_DisplacementOperator::periodicProjection(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_DisplacementOperator::projectionOnDirichletBoundary(), EMM_Output::saveVTI(), EMMG_RealField::setFieldByReference(), EMM_CanonicalMassMatrix::solve(), EMM_BlockEquilibriumMatrix::solve(), EMM_CondensedMassMatrix::solve(), EMM_BlockMassMatrix::solve(), EMM_CanonicalMassMatrix::symmetricDot(), EMM_BlockMassMatrix::symmetricDot(), and EMM_CondensedMassMatrix::symmetricDot().

Here is the caller graph for this function:

◆ getValues() [2/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
const double *&  values 
) const
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

◆ getValues() [3/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
const long double *&  values 
) const
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

◆ getValues() [4/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
float *&  values 
)
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

◆ getValues() [5/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
double *&  values 
)
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

◆ getValues() [6/6]

virtual tBoolean EMM_RealField::getValues ( tUIndex size,
long double *&  values 
)
inlinevirtual

get the values

Parameters
sizethe size of the values : size of the field x dimension of the field
valuesa pointer to the first value of the values of the field
Returns
true if the values are float reals

Reimplemented in EMMG_RealField.

References add(), cellDataToPointData(), distanceMax(), divideBy(), getTypeToString(), multiplyBy(), norm(), normMax(), pointDataToCellData(), sub(), tBoolean, toString(), tReal, tString, and tUIndex.

Here is the call graph for this function:

◆ initField() [1/9]

virtual void EMM_RealField::initField ( const tReal f)
pure virtual

◆ initField() [2/9]

void EMM_RealField::initField ( const EMM_RealField f)
inline

init the field to uniform value in each direction

Parameters
fthe value of the field

References copy(), initField(), tBoolean, tReal, tSInt, tString, and tUIndex.

Here is the call graph for this function:

◆ initField() [3/9]

virtual tBoolean EMM_RealField::initField ( const tString fileName)
pure virtual

init the field by the file name

Parameters
fileNamethe name of the file

Implemented in EMMG_RealField.

◆ initField() [4/9]

virtual void EMM_RealField::initField ( const tReal v,
const EMM_RealField f 
)
pure virtual

init the field to this=v.f

Parameters
vthe multiplicator factor
fthe vector value of the field

Implemented in EMMG_RealField.

◆ initField() [5/9]

virtual void EMM_RealField::initField ( const EMM_RealArray alpha,
const EMM_RealField f 
)
pure virtual

init the field to the field multiplied by alpha This=alpha.f

Parameters
alphathe multiplicator value array
fthe field values

This[i][d]=alpha[i].f[i][d] for all d in [0,getDimension()[

Implemented in EMMG_RealField.

◆ initField() [6/9]

virtual void EMM_RealField::initField ( const tReal s,
const EMM_RealArray alpha,
const tSInt p,
const EMM_RealField f 
)
pure virtual

init the field to the field multiplied by alpha This=s.alpha.f

Parameters
sthe muplicator factor
alphathe multiplicator value array
pthe power of p
fthe field values

This[i][d]=s.alpha[i]^p.f[i][d] for all d in [0,getDimension()[

Implemented in EMMG_RealField.

◆ initField() [7/9]

virtual void EMM_RealField::initField ( const tUIndex from,
const tUIndex to,
const EMM_RealField C 
)
pure virtual

init a part of field to field

Parameters
fromindex of the start point in [0,getSize()[
toindex of the excluded end point in [0,getSize()]
C: field to copy in [from,to[ The size of C must have minimum size equals to to-from

Implemented in EMMG_RealField.

◆ initField() [8/9]

void EMM_RealField::initField ( const tReal fx,
const tReal fy,
const tReal fz 
)
inline

init the field to the 3D vector

Parameters
fxthe x-coordinate of the vector value of the field
fythe y-coordinate of the vector value of the field
fzthe z-coordinate of the vector value of the field

References getSize(), initField(), tReal, tUIndex, and unmagnetized().

Here is the call graph for this function:

◆ initField() [9/9]

virtual void EMM_RealField::initField ( const tUIndex from,
const tUIndex to,
const tReal fx,
const tReal fy,
const tReal fz 
)
pure virtual

init the field to the 3D vector

Parameters
fromindex of the start point in [0,getSize()[
toindex of the excluded end point in [0,getSize()]
fxthe x-coordinate of the vector value of the field
fythe y-coordinate of the vector value of the field
fzthe z-coordinate of the vector value of the field

Implemented in EMMG_RealField.

◆ is32Architecture()

static tBoolean CORE_Object::is32Architecture ( )
inlinestaticinherited

return true if the machine is a 32 bits machine

Returns
true is the computing is done in a 32 bits machine

References CORE_Object::pointer2String(), CORE_Object::printObjectsInMemory(), and tString.

Referenced by CORE_Test::testType().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is64Architecture()

static tBoolean CORE_Object::is64Architecture ( )
inlinestaticinherited

return true if the machine is a 64 bits machine

Returns
true is the computing is done in a 64 bits machine

Referenced by EMM_VTK::getVTKType(), and CORE_Test::testType().

Here is the caller graph for this function:

◆ isInstanceOf() [1/2]

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inlineinherited

test if the clas T is an instance of this class

Returns
true if the object is an instance of T

References null.

Referenced by MATH_ToeplitzTest::toeplitzTest().

Here is the caller graph for this function:

◆ isInstanceOf() [2/2]

tBoolean CORE_Object::isInstanceOf ( const tString name) const
inlineinherited

test if the object is an instance of className

Parameters
namename of the class
Returns
true if the object is an instance of class Name

References CORE_Object::getIdentityString().

Here is the call graph for this function:

◆ isMemoryChecked()

static const tBoolean& CORE_Object::isMemoryChecked ( )
inlinestaticinherited

get if the memory checking is used

Returns
true: if the memory checking is used.

References CORE_Object::getClassName(), CORE_Object::mIsMemoryTesting, and tString.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadFromFile()

tBoolean EMM_RealField::loadFromFile ( const tString fileName)

load the steady array from file

Parameters
fileNamefilename of the file
Returns
true if the file succeeds The file description is as follow:

is a comment character

n d : values of the field, d: the dimension of the field in {1,2,3} values of the field one value per line

References CORE_Object::getMaxUInt(), loadFromStream(), CORE_String::New(), CORE_Integer::parseInt(), setDimension(), setSize(), tDimension, tUIndex, tUInteger, and tUSInt.

Referenced by EMM_Test::computeMField(), EMMG_RealField::initField(), EMM_Input::loadFieldFromFile(), EMM_Input::loadFieldFromTXTFile(), EMM_ODETest::testODE(), and toString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadFromStream() [1/2]

virtual tBoolean EMM_RealField::loadFromStream ( ifstream &  f,
const tUSInt dim 
)
pure virtual

load the steady array from stream

Parameters
finput stream
dimnumber of data per line

the steam contains the values of the field. One value per line

Returns
true if ok

Implemented in EMMG_RealField.

Referenced by EMM_Input::loadFieldFromAIMFile(), loadFromFile(), and toString().

Here is the caller graph for this function:

◆ loadFromStream() [2/2]

virtual tBoolean EMM_RealField::loadFromStream ( ifstream &  f,
vector< EMM_RealArray *> &  indics 
)
pure virtual

load the field and indicators associated to the field the stream will contain the values of the field. 3 value per line followed by indicators value

Parameters
foutput stream
indicsinsicators to save at end of line. Indicators must have the right number of elements and be filled before
Returns
true if ok

Implemented in EMMG_RealField.

◆ mean() [1/4]

virtual void EMM_RealField::mean ( tReal mean) const
pure virtual

compute the mean of each direction

Parameters
meanthe mean value $ mean[d]=\sum_i M[i][d] $

Implemented in EMMG_RealField.

Referenced by EMM_LandauLifschitzSystem::computeMeanField(), EMM_LandauLifschitzSystem::computeMeanMagnetizationField(), dotArray(), and EMMG_RealField::mean().

Here is the caller graph for this function:

◆ mean() [2/4]

virtual void EMM_RealField::mean ( const EMM_RealArray w,
tReal mean 
) const
pure virtual

compute the mean of each direction with respect of weight

Parameters
wweight array for each cell
meanthe mean value of size 3 $ \forall d \in [0,3[, mean[d]=\sum_i w[i].M[i][d] $

Implemented in EMMG_RealField.

◆ mean() [3/4]

void EMM_RealField::mean ( const tUIndex nCells,
const tDimension dim,
const tReal vs,
tReal mean 
)
static

compute the mean of the array of size N x dim

Parameters
[in]nCellsnumber of points
[in]dim: dimension of each point
[in]vsvalues of the field of size N x dim
[out]mean: the mean of the field of size dim

References OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tReal, tUIndex, and tUInteger.

◆ mean() [4/4]

void EMM_RealField::mean ( const tUIndex nCells,
const tDimension dim,
const tReal ws,
const tReal vs,
tReal mean 
)
static

compute the mean of the array of size N x dim

Parameters
[in]nCellsnumber of points
[in]dim: dimension of each point
[in]wsvalues of the weight of points of size N
[in]vsvalues of the field of size N x dim
[out]mean: the mean of the field of size dim

References OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tReal, tUIndex, and tUInteger.

◆ multiplyBy() [1/2]

virtual void EMM_RealField::multiplyBy ( const tReal f)
pure virtual

compute This*=f

Parameters
f: the uniform value of multiplication

Implemented in EMMG_RealField.

Referenced by getValues(), and operator*=().

Here is the caller graph for this function:

◆ multiplyBy() [2/2]

virtual void EMM_RealField::multiplyBy ( const EMM_RealArray f)
pure virtual

compute This*=f

Parameters
fthe multiply factor by point

Implemented in EMMG_RealField.

◆ NewInstance()

virtual SP::EMM_RealField EMM_RealField::NewInstance ( ) const
pure virtual

create a new instance of real field with the same dimension and size

Returns
a shared pointer to the real field

Implemented in EMMG_RealField.

Referenced by EMM_DisplacementFEMOperator::buildDataOnBoundaryFaces(), EMM_DisplacementOperator::initializeEquilibriumSolver(), operator/=(), EMM_RelaxationTest::testNewM(), and EMM_ODETest::testODE().

Here is the caller graph for this function:

◆ norm() [1/2]

virtual tReal EMM_RealField::norm ( const tUIndex index) const
pure virtual

compute the norm at point at index i

Parameters
indexindex of the point in [0,getSize()[
Returns
the norm of the point

Implemented in EMMG_RealField.

Referenced by getValues(), and EMM_Output::saveFieldToAIMFile().

Here is the caller graph for this function:

◆ norm() [2/2]

virtual void EMM_RealField::norm ( EMM_RealArray module) const
pure virtual

compute the norm at each point

Parameters
modulereturn module at each point

Implemented in EMMG_RealField.

◆ normalize()

virtual void EMM_RealField::normalize ( )
pure virtual

◆ normMax()

virtual tReal EMM_RealField::normMax ( tUIndex index) const
pure virtual

compute the point where the norm is max

Parameters
indexindex of the point in [0,getSize()[ where norm is max
Returns
the norm of the field at maximum point

Implemented in EMMG_RealField.

Referenced by EMMG_RealField::distanceMax(), getValues(), and EMM_LandauLifschitzODE_RKd::integrateMagnetizationFieldAtTime().

Here is the caller graph for this function:

◆ operator*=() [1/2]

EMM_RealField& EMM_RealField::operator*= ( const tReal f)
inline

multiply the field by f

Parameters
f: the multiply factor
Returns
this

References multiplyBy().

Here is the call graph for this function:

◆ operator*=() [2/2]

EMM_RealField& EMM_RealField::operator*= ( const EMM_RealArray f)
inline

multiply a vector field by a scalar field to obtain a real field : for all i in [0,N[ for all d in [0,3[, This[i][d]*=f[i]

Parameters
f: the multiplicator array
Returns
this

References multiplyBy().

Here is the call graph for this function:

◆ operator+=()

EMM_RealField& EMM_RealField::operator+= ( const EMM_RealField f)
inline

add a field This+=f

Parameters
fthe field to add
Returns
This

References add().

Here is the call graph for this function:

◆ operator-=()

EMM_RealField& EMM_RealField::operator-= ( const EMM_RealField f)
inline

sub a field This-=f

Parameters
fthe field to sub
Returns
This

References sub().

Here is the call graph for this function:

◆ operator/=() [1/2]

EMM_RealField& EMM_RealField::operator/= ( const tReal f)
inline

divide with respect of a real

Parameters
fthe multiplicator factor
Returns
this

References divideBy().

Here is the call graph for this function:

◆ operator/=() [2/2]

EMM_RealField& EMM_RealField::operator/= ( const EMM_RealArray f)
inline

References copy(), divideBy(), and NewInstance().

Here is the call graph for this function:

◆ operator=() [1/3]

EMM_RealField& EMM_RealField::operator= ( const tReal f)
inline

init the field to uniform value in each direction

Parameters
fthe value of the field

References initField().

Here is the call graph for this function:

◆ operator=() [2/3]

EMM_RealField& EMM_RealField::operator= ( const tReal  f[4])
inline

init the field to the vector f

Parameters
f: the vector value of the field

References initField().

Here is the call graph for this function:

◆ operator=() [3/3]

EMM_RealField& EMM_RealField::operator= ( const EMM_RealField f)
inline

copy the real steady field

References copy().

Here is the call graph for this function:

◆ out()

static CORE_Out& CORE_Object::out ( )
inlinestaticinherited

get the output

Returns
the output stream

Referenced by EMM_Matter::adimensionize(), EMM_DisplacementFVMOperator::backup(), EMM_DisplacementOperator::backup(), MATH_ElementaryMultiLevelsToeplitzMatrix::buildSpectralVectorProjector(), EMM_Test::caseTest(), EMM_Test::caseTests(), EMM_MatterField::computeAnisotropyDirectionsField(), EMM_OptimalTimeStep::computeOptimalTimeStep(), MATH_MultiLevelsToeplitzMatrix::copy(), CORE_Exception::CORE_Exception(), EMM_MatterField::createAnisotropyOperator(), CORE_Run::createIO(), EMM_ElementaryTest::defaultBackupTest(), EMM_ElementaryTest::defaultTest(), MATH_MultiLevelsFFTToeplitzMatrix::diagonalize(), EMM_DisplacementFVMOperator::discretize(), EMM_MagnetostrictionOperator::discretize(), EMM_DisplacementFEMOperator::discretize(), EMM_4SymmetricTensors::doubleDot(), EMM_4Tensors::doubleDotCrossDoubleDotScalar(), EMM_TensorsTest::doubleDotCrossDoubleDotScalarTests(), EMM_4Tensors::doubleDotCrossProduct(), EMM_TensorsTest::doubleDotCrossProductTests(), EMM_4Tensors::doubleDotCrossSquaredScalar(), EMM_TensorsTest::doubleDotCrossSquaredScalarTests(), EMM_4Tensors::doubleDotProduct(), EMM_TensorsTest::doubleDotProductTests(), EMM_DisplacementWaveTest::elasticWaveTest(), EMM_Test::elementaryTests(), FFTW_Test::fftwTutorial(), MATH_IntegrationTest::gaussLegendreTest(), EMM_MagnetostrictionTest::HComputingTest(), EMM_DemagnetizedPeriodicalTest::HTest(), EMMH_HysteresisTest::hysteresisDefaultCycleTest(), EMM_TensorsTest::initializationTests(), EMM_MultiScaleGrid::initialize(), EMM_MultiScaleSDGrid::initialize(), EMM_MatterField::loadFromANIFile(), EMM_AnisotropyDirectionsField::loadFromFile(), EMM_Matter::loadFromFile(), EMM_Grid3D::loadFromGEOFile(), EMM_MatterField::loadFromLOCFile(), EMM_Array< tCellFlag >::loadFromStream(), EMM_Matter::loadFromStream(), EMM_Matter::loadMattersFromFile(), EMM_Run::loadSystemFromOptions(), EMM_ElementaryTest::magnetostrictionBackupTest(), CORE_Run::make(), EMMH_Run::makeHysteresis(), EMM_Run::makeRun(), CORE_Run::makeType(), EMM_ElementaryTest::optionsTest(), MATH_PolynomialTest::P4Tests(), EMM_Test::primaryTests(), EMM_LandauLifschitzSystem::printLog(), CORE_Run::printOptions(), EMM_2PackedSymmetricTensors::product(), EMMG_SLDemagnetizedOperator::projectionOnSpectralSpace(), CORE_Run::readOptionsFromCommandLine(), CORE_Test::readVectorTest(), EMM_DemagnetizedPeriodicalTest::relaxationTest(), EMM_DisplacementFVMOperator::restore(), EMM_DisplacementOperator::restore(), EMM_Input::restoreBackup(), EMMH_Hysteresis::run(), EMM_Output::save(), EMM_AnisotropyDirectionsField::saveToFile(), EMM_MatterField::saveToFile(), EMM_Grid3D::saveToGEOFile(), CORE_IOTest::searchTest(), EMMH_Hysteresis::setInitialMagnetizationField(), MATH_MultiLevelsToeplitzMatrix::setLevels(), EMM_4SymmetricTensors::squaredDoubleDot(), EMM_4Tensors::squaredDoubleDotCrossScalar(), EMM_TensorsTest::squaredDoubleDotCrossScalarTests(), EMM_4Tensors::squaredDoubleDotScalar(), EMM_TensorsTest::squaredDoubleDotScalarTests(), EMM_TensorsTest::squaredDoubleDotTests(), EMM_MatterTest::testAdimensionize(), EMM_MatterTest::testANIFile(), CORE_Test::testComplex(), CORE_Test::testDateWeek(), FFTW_Test::testDFT(), EMM_MatterTest::testIO(), EMM_ODETest::testODE(), CORE_Test::testOut(), CORE_Test::testReal(), EMM_FieldTest::testRealArray(), EMM_Grid3DTest::testSegment(), EMM_Grid3DTest::testThinSheet(), CORE_Test::testTime(), CORE_Test::testType(), MATH_FullMatrix::toString(), EMM_DemagnetizedPeriodicalTest::xyPeriodicalCubeSDGTest(), and EMM_DemagnetizedPeriodicalTest::xyPeriodicalSheetSDGTest().

Here is the caller graph for this function:

◆ pointDataToCellData()

virtual tBoolean EMM_RealField::pointDataToCellData ( const EMM_Grid3D mesh)
pure virtual

turn the field from point data to cll data

Parameters
meshthe mesh on which the field is defined
Returns
false if the field is not defined on points

Implemented in EMMG_RealField.

Referenced by EMM_DisplacementFVMOperator::discretize(), getValues(), and EMM_DisplacementFVMOperator::resetToInitialState().

Here is the caller graph for this function:

◆ pointer2String()

tString CORE_Object::pointer2String ( const void *  obj)
staticinherited

return the string representation of a pointer

Parameters
obj: oject to get the string pointer
Returns
the string pointer of the object

References tString.

Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), CORE_Object::is32Architecture(), and CORE_Object::~CORE_Object().

Here is the caller graph for this function:

◆ printObjectsInMemory() [1/2]

void CORE_Object::printObjectsInMemory ( ostream &  f)
staticinherited

print object in memory

Parameters
f: output to print the objects in memory

References CORE_Object::getIdentityString(), CORE_Object::getSharedPointer(), CORE_Object::mIsMemoryTesting, CORE_Object::mObjects, and tInteger.

Here is the call graph for this function:

◆ printObjectsInMemory() [2/2]

static void CORE_Object::printObjectsInMemory ( )
inlinestaticinherited

print object in memory in the standart output

Referenced by CORE_Object::is32Architecture(), and main().

Here is the caller graph for this function:

◆ resetOut()

static void CORE_Object::resetOut ( )
inlinestaticinherited

reset the output stream

Referenced by run().

Here is the caller graph for this function:

◆ resetThread()

static void CORE_Object::resetThread ( )
inlinestaticinherited

reset the output stream

Referenced by run().

Here is the caller graph for this function:

◆ saveToFile()

tBoolean EMM_RealField::saveToFile ( const tString fileName) const

save the steady array into file

Parameters
fileNamefilename of the file
Returns
true if the file succeeds The file description is as follow:

is a comment character

n d : values of the field, d: the dimension of the field in {1,2,3} values : values of the feild: one value per line

References getDimension(), getSize(), saveToStream(), CORE_Time::toString(), tUIndex, and tUSInt.

Referenced by EMM_Test::computeMField(), EMMH_Hysteresis::run(), EMM_Output::saveFieldToTXTFile(), and toString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveToStream() [1/2]

virtual tBoolean EMM_RealField::saveToStream ( ofstream &  stream) const
pure virtual

save the array into stream and indicators the stream will contain the values of the field. 3 value per line

Parameters
streamoutput stream
Returns
true if ok

Implemented in EMMG_RealField.

Referenced by EMM_Output::saveFieldToAIMFile(), saveToFile(), and toString().

Here is the caller graph for this function:

◆ saveToStream() [2/2]

virtual tBoolean EMM_RealField::saveToStream ( ofstream &  f,
const vector< const EMM_RealArray *> &  indics 
) const
pure virtual

save the field and indicators associated to the field the stream will contain the values of the field. 3 value per line followed by indicator values

Parameters
foutput stream
indicsinsicators to save at end of line.
  • the size of indics must be the set to the forseen number of indicators to read
  • the size of each array of indics must be the same as the size of this
Returns
true if ok

Implemented in EMMG_RealField.

◆ saveToVTKStream() [1/2]

virtual tBoolean EMM_RealField::saveToVTKStream ( ofstream &  file,
EMM_VTK vtk,
const EMM_RealArray weight,
const tString name 
) const
pure virtual

save the field in vtk

Parameters
filethe output vtk stream
vtkthe vtk class to save in the field
weightthe weight of the field
name: the name of the field
Returns
true if the writing has succeeded

Implemented in EMMG_RealField.

Referenced by EMM_Output::saveVTI(), and toString().

Here is the caller graph for this function:

◆ saveToVTKStream() [2/2]

virtual tBoolean EMM_RealField::saveToVTKStream ( ofstream &  file,
EMM_VTK vtk,
const tString name 
) const
pure virtual

save the field in vtk

Parameters
filethe output vtk stream
vtkthe vtk class to save in the field
name: the name of the field
Returns
true if the writing has succeeded

Implemented in EMMG_RealField.

◆ setDimension()

void EMM_RealField::setDimension ( const tDimension d)
inline

set the dimension

Parameters
ddimension of the field in [0,3[

References fitToSize(), initField(), setSize(), tReal, and tUIndex.

Referenced by EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMMG_DisplacementFEMOperator::computeElasticStress(), EMMG_DisplacementFVM_SSGROperator::computeElasticStress(), EMMG_DisplacementFVM_STEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VTEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VOGGROperator::computeElasticStress(), EMMG_LandauLifschitzFunction::computeFunction(), EMMG_LandauLifschitzFunction::computeGradFunction(), EMMG_PlanarAnisotropyOperator::computeMagneticExcitationField(), EMMG_MinimalExchangeOperator::computeMagneticExcitationField(), EMMG_FullExchangeOperator::computeMagneticExcitationField(), EMMG_LinearAnisotropyOperator::computeMagneticExcitationField(), EMMG_UniaxialAnisotropyOperator::computeMagneticExcitationField(), EMMG_DemagnetizedOperator::computeMagneticExcitationField(), EMMG_SLDemagnetizedOperator::computeMagneticExcitationField(), EMM_DisplacementOperator::computeMagneticStress(), EMMG_LandauLifschitzFunction::computePartialGradMFunction(), EMMG_RealField::copy(), EMM_GaussLegendreRelaxation::discretize(), EMMG_RealField::initField(), EMM_MultiScaleSDGrid::initialize(), EMM_DisplacementFVM_VIGROperator::initializeEquilibriumSolver(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), loadFromFile(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), and EMMG_RealField::wedge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFieldByReference()

virtual void EMM_RealField::setFieldByReference ( const tUIndex from,
const tUIndex to,
EMM_RealField X 
)
pure virtual

set the field by reference

Parameters
fromfirst index of This in X field
tolast excludded index of This in X field
Xthe reference to point to

This field is a field whose :

  • dimension is the same as X's one
  • size is to-from.
  • the first element is X[from]

If This is modified, X is also modified and vice-versa

not that X must be unreferenced after This

Implemented in EMMG_RealField.

Referenced by setValue().

Here is the caller graph for this function:

◆ setIsMemoryChecked()

static void CORE_Object::setIsMemoryChecked ( const tBoolean v)
inlinestaticinherited

set if the memory checking is used

Parameters
v: true to check memory

Referenced by main().

Here is the caller graph for this function:

◆ setOut()

static void CORE_Object::setOut ( SP::CORE_Out  out)
inlinestaticinherited

set the output stream

Parameters
out: the shared pointer to the new output stream

References null.

◆ setSize()

virtual void EMM_RealField::setSize ( const tUIndex n)
pure virtual

set the size

Parameters
nsize of the field

Implemented in EMMG_RealField.

Referenced by EMM_DisplacementFEMOperator::buildDataOnBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), EMMG_DisplacementFEMOperator::computeElasticStress(), EMMG_DisplacementFVM_SSGROperator::computeElasticStress(), EMMG_DisplacementFVM_STEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VTEGROperator::computeElasticStress(), EMMG_DisplacementFVM_VOGGROperator::computeElasticStress(), EMM_LandauLifschitzRelaxation::computeEnergyAtTime(), EMM_LandauLifschitzRelaxation::computeEnergyTimeDerivativeAtTime(), EMM_GradGaussLegendreRelaxation::computeEnergyTimeDerivativesAtTime(), EMM_DisplacementOperator::computeFieldsAtTimeWithGL1Interpolation(), EMM_DisplacementOperator::computeFieldsAtTimeWithGLnInterpolation(), EMM_DisplacementOperator::computeFieldsAtTimeWithTE1(), EMM_DisplacementOperator::computeFieldsAtTimeWithTE2(), EMMG_LandauLifschitzFunction::computeFunction(), EMMG_LandauLifschitzFunction::computeGradFunction(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationField(), EMMG_PlanarAnisotropyOperator::computeMagneticExcitationField(), EMMG_AnisotropyOperator::computeMagneticExcitationField(), EMMG_MagnetostrictionOperator::computeMagneticExcitationField(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationField(), EMMG_StaticMagnetostrictionOperator::computeMagneticExcitationField(), EMMG_MinimalExchangeOperator::computeMagneticExcitationField(), EMMG_FullExchangeOperator::computeMagneticExcitationField(), EMMG_LinearAnisotropyOperator::computeMagneticExcitationField(), EMMG_UniaxialAnisotropyOperator::computeMagneticExcitationField(), EMMG_DemagnetizedOperator::computeMagneticExcitationField(), EMMG_SLDemagnetizedOperator::computeMagneticExcitationField(), EMM_LandauLifschitzSystem::computeMagneticExcitationField(), EMM_LandauLifschitzSystem::computeMagneticExcitationFieldAndEnergies(), EMMG_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_AnisotropyOperator::computeMagneticExcitationFieldGradient(), EMMG_StaticMagneticTensorOperator::computeMagneticExcitationFieldGradient(), EMM_GradGaussLegendreRelaxation::computeMagneticExcitationFieldGradient(), EMM_DisplacementOperator::computeMagneticStress(), EMM_LandauLifschitzSystem::computeMagnetizationExcitationField(), EMM_GaussLegendreRelaxation::computeMagnetizationFieldAtTimeWithGLnInterpolation(), EMM_Test::computeMField(), EMMG_LandauLifschitzFunction::computePartialGradMFunction(), EMMG_SLDemagnetizedOperator::computeWeightM(), EMM_DisplacementFVMOperator::discretize(), EMM_DisplacementFEMOperator::discretize(), EMM_MultiScaleSDGrid::initialize(), EMM_DisplacementFVM_VIGROperator::initializeEquilibriumSolver(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMM_Input::loadFieldFromAIMFile(), loadFromFile(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), setDimension(), EMM_RelaxationTest::testNewM(), and EMMG_RealField::wedge().

Here is the caller graph for this function:

◆ setThis()

void CORE_Object::setThis ( SP::CORE_Object  p)
inlineprotectedinherited

set this weak shared pointer called toDoAfterThis setting method

Parameters
p: shared pointer of the class This

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

◆ setThread()

static void CORE_Object::setThread ( SP::CORE_Thread  thread)
inlinestaticinherited

set the thread

Parameters
threadthe shared pointer to the thread

References null.

Referenced by EMM_Run::EMM_Run(), EMM_TensorsRun::EMM_TensorsRun(), and MATH_SolverRun::MATH_SolverRun().

Here is the caller graph for this function:

◆ setValue() [1/3]

void EMM_RealField::setValue ( const tUIndex i,
const tDimension k,
const tReal v 
)
inline

set the value at point i and for coordinate k

Parameters
iindex of the point in (0,getSize()[
k: coordinate of the point in [0,getDimension()[
vvalue of the k-coordinate of the i point set the value of the k_coordinate of the point i

References getDimension(), setFieldByReference(), tReal, tUIndex, wedge(), EMM_Object::X, and EMM_Object::Y.

Referenced by EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_Test::computeMField(), EMM_DisplacementWaveTest::loadFromFile(), EMM_DisplacementOperator::setConstraints(), EMM_DisplacementOperator::setInitialDisplacement(), EMM_ZeemanOperator::setInitialMagneticExcitation(), EMM_LandauLifschitzSystem::setInitialMagnetization(), and EMM_DisplacementOperator::setInitialVelocity().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValue() [2/3]

virtual void EMM_RealField::setValue ( const tUIndex i,
const tReal v 
)
pure virtual

set the value of the element at index i

Parameters
iindex of the element
vvalue of the element at index i set the value of the element at index i to v

Implemented in EMMG_RealField.

◆ setValue() [3/3]

virtual void EMM_RealField::setValue ( const tUIndex i,
const tReal  vs[] 
)
pure virtual

get the vector value at point i of size dim

Parameters
iindex of the point in (0,getSize()[
vscoortdinate value of the point at index i

Implemented in EMMG_RealField.

◆ SP_OBJECT()

EMM_RealField::SP_OBJECT ( EMM_RealField  )
private

◆ sub()

virtual void EMM_RealField::sub ( const EMM_RealField f)
pure virtual

compute This-=f

Parameters
f: the field to substract

Implemented in EMMG_RealField.

Referenced by getValues(), and operator-=().

Here is the caller graph for this function:

◆ toDoAfterThisSetting()

virtual void EMM_Object::toDoAfterThisSetting ( )
inlineprotectedvirtualinherited

method called after the setting of the shared pointer this method can only be called once.

Reimplemented from CORE_Object.

Reimplemented in EMM_DisplacementOperator, EMM_DisplacementFVMOperator, EMM_GaussLegendreRelaxation, and EMM_GradGaussLegendreRelaxation.

Referenced by EMM_GaussLegendreRelaxation::toDoAfterThisSetting(), and EMM_DisplacementOperator::toDoAfterThisSetting().

Here is the caller graph for this function:

◆ toString() [1/2]

virtual tString EMM_RealField::toString ( const tUIndex n) const
pure virtual

return the string representation of the field

Parameters
nthe number of points to print
Returns
the string representation of the class

Implemented in EMMG_RealField.

◆ toString() [2/2]

virtual tString EMM_RealField::toString ( ) const
inlinevirtual

return the string representation of the field

Returns
the string representation of the class

Reimplemented from CORE_Object.

References loadFromFile(), loadFromStream(), saveToFile(), saveToStream(), saveToVTKStream(), tBoolean, tString, and tUSInt.

Referenced by getValues(), and EMMG_RealField::saveToStream().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unmagnetized()

virtual void EMM_RealField::unmagnetized ( const EMM_Grid3D mesh)
pure virtual

unmagnetized the field in the mesh

Parameters
meshthe mesh defining the empty cell
  • set to 0 on the cells which are empty

Implemented in EMMG_RealField.

Referenced by EMM_LandauLifschitzSystem::discretize(), initField(), and EMM_LandauLifschitzSystem::resetToInitialState().

Here is the caller graph for this function:

◆ wedge() [1/2]

virtual void EMM_RealField::wedge ( const EMM_RealField X,
EMM_RealField Y 
) const
pure virtual

compute the vectorial product of two fields This & X Y=This ^ X

Parameters
X: the real field
Ythe output real field

Implemented in EMMG_RealField.

Referenced by setValue(), and EMMG_RealField::wedge().

Here is the caller graph for this function:

◆ wedge() [2/2]

virtual void EMM_RealField::wedge ( const tReal alpha,
const EMM_RealField X,
EMM_RealField Y 
) const
pure virtual

compute the vectorial product of two fields This & X Y=alpha This ^ X

Parameters
alphathe alpha value
X: the real field
Ythe output real field

Implemented in EMMG_RealField.

Member Data Documentation

◆ Gamma

const tReal EMM_Object::Gamma =-1.7e11
staticinherited

◆ mDimension

tDimension EMM_RealField::mDimension
private

Referenced by EMM_RealField(), and getDimension().

◆ Mu0

const tReal EMM_Object::Mu0 =4*M_PI*1e-07
staticinherited

◆ NULL_VALUE

const tReal EMM_Object::NULL_VALUE ={0,0,0}
staticinherited

◆ X

const tDimension EMM_Object::X =0
staticinherited

◆ Y

const tDimension EMM_Object::Y =1
staticinherited

◆ Z

const tDimension EMM_Object::Z =2
staticinherited

The documentation for this class was generated from the following files: