C++ main module for emicrom Package
1.0
|
This class describes a generic real field. More...
#include <EMMG_RealField.h>
Public Member Functions | |
EMMG_RealField () | |
create More... | |
virtual | ~EMMG_RealField (void) |
destroy More... | |
virtual SP::EMM_RealField | NewInstance () const |
create a new instance of real field with the smae dimension and size More... | |
tReal & | operator() (const tUIndex &i, const tDimension &d) |
get the value at point i for coordinate d More... | |
const tReal & | operator() (const tUIndex &i, const tDimension &d) const |
get the value at point i for coordinate d More... | |
tReal & | operator[] (const tUIndex &i) |
get the value at index More... | |
const tReal & | operator[] (const tUIndex &i) const |
get the value at index More... | |
virtual void | setSize (const tUIndex &s) |
set the size More... | |
virtual void | copy (const EMM_RealField &f) |
copy the real vector More... | |
virtual void | initField (const tReal &alpha, const EMM_RealField &f) |
init the field to the field multiplied by alpha This=alpha.f More... | |
virtual void | initField (const EMM_RealArray &alpha, const EMM_RealField &f) |
init the field to the field multiplied by alpha This=alpha.f More... | |
virtual void | initField (const tUIndex &from, const tUIndex &to, 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 EMM_RealField &C) |
init a part of field to field More... | |
virtual void | initField (const tReal &f) |
init the field to uniform value in each direction More... | |
virtual tBoolean | initField (const tString &fileName) |
init the field by the file name More... | |
virtual void | initField (const tReal &s, const EMM_RealArray &alpha, const tSInt &p, const EMM_RealField &f) |
init the field to the field multiplied by alpha This=s.alpha.f More... | |
virtual void | unmagnetized (const EMM_Grid3D &mesh) |
unmagnetized the field in the mesh More... | |
virtual void | setValue (const tUIndex &i, const tReal &v) |
set the value of the element at index i More... | |
virtual void | setValue (const tUIndex &i, const tReal v[]) |
set the value of the element at index i More... | |
virtual void | fitToSize () |
fit the memory size to the size More... | |
virtual void | setFieldByReference (const tUIndex &from, const tUIndex &to, EMM_RealField &X) |
set the field by reference More... | |
virtual void | wedge (const EMM_RealField &X, EMM_RealField &Y) const |
compute the vectorial product of two fields This & X Y=alpha this ^ X More... | |
virtual void | wedge (const tReal &alpha, const EMM_RealField &X, EMM_RealField &Y) const |
compute the vectorial product of two fields This & X Y=alpha this ^ X More... | |
virtual tReal | dot (const EMM_RealField &F, const EMM_RealField &G) const |
compute the scalar product <F,G> More... | |
virtual tReal | dot (const EMM_RealArray &sigma, const EMM_RealField &F, const EMM_RealField &G) const |
compute the weight scalar product <F,G> More... | |
virtual tReal | dot (const tUInt &q, const EMM_RealField &F, const EMM_RealField &G) const |
compute the More... | |
virtual tReal | dot (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G) const |
compute the More... | |
virtual void | dotArray (const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
virtual void | dotArray (const tUInt &q, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
virtual void | dotArray (const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
virtual void | dotArray (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &F, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
virtual void | normalize () |
normalize the field More... | |
virtual void | mean (tReal *mean) const |
compute the mean of each direction More... | |
virtual void | mean (const EMM_RealArray &w, tReal *mean) const |
compute the mean of each direction with respect of weight More... | |
virtual tULLInt | getMemorySize () const |
return the memory size in bytes More... | |
const EMM_RealArray & | getArray () const |
get the array for reading More... | |
EMM_RealArray & | getArray () |
get the array for writing More... | |
virtual tUIndex | getSize () const |
return the size of the field More... | |
virtual tReal | getValue (const tUIndex &i) const |
get the value of the element at index i More... | |
virtual void | getValue (const tUIndex &i, tReal vs[]) const |
get the vector value at point i of size dim More... | |
virtual tString | getTypeToString () const |
get the string type 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 void | add (const tReal &alpha, const EMM_RealField &X) |
compute This += alpha. X More... | |
virtual void | add (const EMM_RealArray &alpha, const EMM_RealField &X) |
compute This += alpha. X More... | |
virtual void | add (const EMM_RealField &f) |
compute This+=f More... | |
virtual void | add (const tReal &s, const EMM_RealArray &alphas, const tSInt &p, const EMM_RealField &X) |
This+=s.alpha^p.X This[i][d]+=s.alpha[i]^p.X[i][d]. More... | |
virtual void | sub (const EMM_RealField &f) |
compute This-=f More... | |
virtual void | divideBy (const tReal &f) |
compute This/=f More... | |
virtual void | divideBy (const EMM_RealArray &f) |
compute This*=f More... | |
virtual void | multiplyBy (const tReal &f) |
compute This*=f More... | |
virtual void | multiplyBy (const EMM_RealArray &f) |
compute This*=f More... | |
virtual tReal | norm (const tUIndex &index) const |
compute the norm at point at index More... | |
virtual void | norm (EMM_RealArray &mod) const |
compute the norm at all points More... | |
virtual tReal | normMax (tUIndex &k) const |
compute the point where the norm of the field is maximum More... | |
virtual tReal | distanceMax (const EMM_RealField &B, tUIndex &k) const |
compute the Max_i ||this[i]-B[i]|| More... | |
virtual tBoolean | cellDataToPointData (const EMM_Grid3D &mesh) |
turn the field from cell data to point data More... | |
virtual tBoolean | pointDataToCellData (const EMM_Grid3D &mesh) |
turn the field from point data to cll data More... | |
virtual tBoolean | loadFromStream (ifstream &f, const tUSInt &d) |
load the steady array from stream the steam contains the values of the field. One value per line More... | |
virtual tBoolean | loadFromStream (ifstream &f, vector< EMM_RealArray *> &indics) |
load the field and indicators associated to the field the stream will contain the values of the field. 3 value per line foolowed by indicators value More... | |
virtual tBoolean | saveToStream (ofstream &f) const |
save the steady array into stream the steam will contain the values of the field. One value per line More... | |
virtual tBoolean | saveToStream (ofstream &f, const vector< const EMM_RealArray *> &indics) const |
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 tString &name) const |
save the field in vtk More... | |
virtual tBoolean | saveToVTKStream (ofstream &file, EMM_VTK &vtk, const EMM_RealArray &weight, const tString &name) const |
save the field in vtk More... | |
virtual tString | toString (const tUIndex &n) const |
return the string representation of the field More... | |
EMM_RealField & | operator+= (const EMM_RealField &f) |
add a field This+=f More... | |
EMM_RealField & | operator-= (const EMM_RealField &f) |
sub a field This-=f More... | |
EMM_RealField & | operator/= (const tReal &f) |
divide with respect of a real More... | |
EMM_RealField & | operator/= (const EMM_RealArray &f) |
EMM_RealField & | operator*= (const tReal &f) |
multiply the field by f More... | |
EMM_RealField & | operator*= (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... | |
void | setDimension (const tDimension &d) |
set the dimension More... | |
void | initField (const EMM_RealField &f) |
init the field to uniform value in each direction More... | |
void | initField (const tReal &fx, const tReal &fy, const tReal &fz) |
init the field to the 3D vector More... | |
void | setValue (const tUIndex &i, const tDimension &k, const tReal &v) |
set the value at point i and for coordinate k 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... | |
tReal | dot (const tUInt &q, const EMM_RealField &G) const |
compute the More... | |
virtual tReal | dot (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &G) const |
compute the More... | |
void | dotArray (const tUInt &q, const EMM_RealArray &w, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
void | dotArray (const tUInt &q, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
void | dotArray (const EMM_RealArray &w, const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
void | dotArray (const EMM_RealField &G, EMM_RealArray &R) const |
compute the array More... | |
const tDimension & | getDimension () 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 tString | toString () const |
return the string representation of the field More... | |
tBoolean | loadFromFile (const tString &fileName) |
load the steady array from file More... | |
tBoolean | saveToFile (const tString &fileName) const |
save the steady array into file 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 SP::EMMG_RealField | New () |
constructor with a shared pointer More... | |
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_Out & | out () |
get the output More... | |
static SP::CORE_Out | getOut () |
get the output More... | |
static CORE_Thread & | getThread () |
get the profilier More... | |
static const tBoolean & | isMemoryChecked () |
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 (EMMG_RealField) | |
Private Attributes | |
EMM_RealArray | mArray |
This class describes a generic real field.
EMMG_RealField::EMMG_RealField | ( | ) |
|
virtual |
destroy
|
virtual |
compute This += alpha. X
alpha | the alpha value |
X | : the real field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), EMM_RealField::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
Referenced by add(), getValues(), and initField().
|
virtual |
compute This += alpha. X
alpha | the alpha value at each point |
X | : the real field |
Implements EMM_RealField.
References add(), EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
compute This+=f
f | the field to add |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), EMM_RealField::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
This+=s.alpha^p.X This[i][d]+=s.alpha[i]^p.X[i][d].
s | a constant value |
alphas | the alpha values different at any point of the mesh |
p | : power of alphas |
X | : the real field |
Implements EMM_RealField.
References add(), EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
turn the field from cell data to point data
mesh | the mesh on which the field is defined |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_Grid3D::getElementsNumber(), EMM_Grid3D::getSegmentsNumber(), getSize(), EMM_Grid3D::getVerticesNumber(), EMM_Grid3D::isDirectionPeriodic(), EMM_Grid3D::isElementMagnetized(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tBoolean, tDimension, CORE_Array< T >::transfertValuesByReference(), tReal, tUCInt, tUIndex, and tUInteger.
Referenced by getValues().
|
inlinestaticinherited |
compute epsilon
|
virtual |
copy the real vector
f | the field to copy |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), setSize(), tReal, tUIndex, and tUInteger.
Referenced by initField(), and setSize().
|
virtual |
compute the Max_i ||this[i]-B[i]||
B | the B fieldd to compare with this |
k | index of the point where the max norm is |
Implements EMM_RealField.
References EMM_RealField::distanceMax(), EMM_RealField::getDimension(), getSize(), mArray, norm(), normMax(), EMM_RealField::normMax(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
Referenced by getValues().
|
virtual |
compute This/=f
f | the divisor value |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Real::toString(), tReal, tUIndex, and tUInteger.
Referenced by divideBy(), and getValues().
|
virtual |
compute This*=f
f | the divisor factor by point |
Implements EMM_RealField.
References divideBy(), EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
compute the scalar product <F,G>
F | first field |
G | second field |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
Referenced by dot(), and fitToSize().
|
virtual |
compute the weight scalar product <F,G>
sigma | the weight array |
F | first field |
G | second field |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References dot(), EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
compute the
[in] | q | the power |
[in] | F | : d-field defined on n points |
[in] | G | : d-field defined on n points |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References dot(), EMM_RealField::getDimension(), EMM_RealField::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
|
virtual |
compute the
[in] | q | the power |
[in] | w | weight |
[in] | F | : d-field defined on n points |
[in] | G | : d-field defined on n points |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References dot(), EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, CORE_Array< T >::sum(), tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
|
inlinevirtualinherited |
compute the scalar product
F | field |
Referenced by EMM_ZeemanOperator::computeEnergy(), EMM_LandauLifschitzSystem::computeEnergyTimeDerivative(), EMM_GradGaussLegendreRelaxation::computeEnergyTimeDerivatives(), EMM_GradGaussLegendreRelaxation::computeEnergyTimeDerivativesAtTime(), EMM_MagneticExcitationLinearOperator::computeEnergyWithMagneticExcitation(), EMM_ZeemanOperator::computeEnergyWithMagneticExcitation(), EMM_OptimalTimeStep::computeOptimalTimeStep(), EMM_RealField::dot(), and EMM_LandauLifschitzODE_RKd::integrateMagnetizationFieldAtTime().
|
inlinevirtualinherited |
compute the scalar product
sigma | the weight array |
F | field |
References EMM_RealField::dot(), and tReal.
|
inlineinherited |
compute the
[in] | q | the power |
[in] | G | : d-field defined on n points |
References EMM_RealField::dot(), EMM_RealField::getSize(), tReal, and tUInt.
|
inlinevirtualinherited |
compute the
[in] | q | the power |
[in] | w | weight |
[in] | G | : d-field defined on n points |
References EMM_RealField::dot(), EMM_RealField::dotArray(), tReal, and tUInt.
|
virtual |
compute the array
[in] | w | weight |
[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 |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
Referenced by dotArray(), and fitToSize().
|
virtual |
compute the array
[in] | q | the 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 |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References dotArray(), EMM_RealField::getDimension(), EMM_RealField::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
|
virtual |
compute the array
[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 |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References dotArray(), EMM_RealField::getDimension(), EMM_RealField::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
|
virtual |
compute the array
[in] | q | the power |
[in] | w | weight |
[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 |
inverse the role of F & G if size of G is greater than size of F
Implements EMM_RealField.
References EMM_RealArray::copy(), dotArray(), EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tBoolean, tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInt, and tUInteger.
|
inlineinherited |
compute the array
[in] | q | the power |
[in] | w | weight |
[in] | G | : d-field defined on n points |
[out] | R | : returned d-field defined on n points computes the array |
References EMM_RealField::dotArray().
|
inlineinherited |
compute the array
[in] | q | the power |
[in] | G | : d-field defined on n points |
[out] | R | : returned d-field defined on n points computes the array |
References EMM_RealField::dotArray().
|
inlineinherited |
compute the array
[in] | w | weight |
[in] | G | : d-field defined on n points |
[out] | R | : returned d-field defined on n points computes the array |
References EMM_RealField::dotArray().
|
inlineinherited |
compute the array
[in] | G | : d-field defined on n points |
[out] | R | : returned d-field defined on n points computes the array |
References EMM_RealField::add(), EMM_RealField::dotArray(), EMM_RealField::getMemorySize(), EMM_RealField::getSize(), EMM_RealField::mean(), EMM_RealField::normalize(), tDimension, tReal, tSInt, tUIndex, and tULLInt.
|
inlinevirtual |
fit the memory size to the size
Implements EMM_RealField.
References dot(), dotArray(), CORE_Array< T >::fitToSize(), mean(), normalize(), setFieldByReference(), tReal, tUIndex, tUInt, wedge(), EMM_Object::X, and EMM_Object::Y.
|
inline |
get the array for reading
References mArray.
Referenced by EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField().
|
inline |
|
inherited |
return the class name of the object
References tString.
Referenced by CORE_Object::getIdentityString(), EMM_Operator::getName(), and CORE_Object::isMemoryChecked().
return the class name of the object
identityString | the identity string of the object |
|
inlineinherited |
get the dimension
References EMM_RealField::mDimension.
Referenced by add(), EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), EMM_DisplacementFEMOperator::buildDataOnNeumannBoundaryFaces(), 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(), copy(), distanceMax(), divideBy(), dot(), dotArray(), EMM_DisplacementFVMOperator::getDataFieldSpace(), EMM_DisplacementFEMOperator::getDataFieldSpace(), getSize(), getValue(), EMM_RealField::getValue(), getValues(), initField(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), loadFromStream(), mean(), multiplyBy(), NewInstance(), norm(), normalize(), normMax(), EMM_DisplacementOperator::nullProjectionOnDirichletBoundary(), operator()(), EMM_DisplacementOperator::periodicProjection(), pointDataToCellData(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_DisplacementOperator::projectionOnDirichletBoundary(), EMM_RealField::saveToFile(), saveToStream(), saveToVTKStream(), EMM_Output::saveVTI(), setFieldByReference(), setSize(), setValue(), EMM_RealField::setValue(), EMM_CanonicalMassMatrix::solve(), EMM_CondensedMassMatrix::solve(), sub(), EMM_CanonicalMassMatrix::symmetricDot(), EMM_BlockMassMatrix::symmetricDot(), EMM_CondensedMassMatrix::symmetricDot(), toString(), unmagnetized(), and wedge().
|
inlinestaticinherited |
get the epsilon value for tDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the infinity value for tFloat type
|
inlinestaticinherited |
get the epsilon value for T type
|
inlinestaticinherited |
get the epsilon value for tFloat type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the infinity value for tFloat type
|
inlineinherited |
return the identity string of the object of the form className_at_address
References CORE_Object::getClassName(), CORE_Object::pointer2String(), and tString.
Referenced by MATH_GaussLegendreIntegration::copy(), EMM_MultiScaleGrid::initialize(), CORE_Object::isInstanceOf(), CORE_Object::printObjectsInMemory(), MATH_Matrix::toString(), EMMG_SLPeriodicMultiScale::toString(), EMM_Stepper::toString(), EMM_AnisotropyDirectionsField::toString(), EMM_BlockMassMatrix::toString(), CORE_Object::toString(), EMM_Tensors::toString(), EMM_MultiScaleGrid::toString(), EMM_MatterField::toString(), EMM_Grid3D::toString(), and EMM_LandauLifschitzSystem::toString().
|
inlinestaticinherited |
get the infinity for T type
|
inlinestaticinherited |
get the epsilon value for tLDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the infinity value for tDouble type
|
inlinestaticinherited |
get the max value for tChar type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for the tFlag type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tFloat type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for the array/vector indexing type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tInt type
Referenced by MATSGN_FFT::fastFourierTransform3D_FFTW(), and CORE_Test::testType().
|
inlinestaticinherited |
get the max value for the integer type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tLDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tLInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tULInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for the real type
Referenced by EMM_MatterField::adimensionize(), and CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tSInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tUChar type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get 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().
|
inlinestaticinherited |
get the max value for tUInt type
Referenced by EMM_Array< tCellFlag >::loadFromFile(), EMM_RealField::loadFromFile(), and CORE_Test::testType().
|
inlinestaticinherited |
get 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().
|
inlinestaticinherited |
get the max value for tULInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tULLInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the max value for tUSInt type
Referenced by CORE_Test::testType().
|
inlinevirtual |
return the memory size in bytes
Implements EMM_RealField.
References CORE_Array< T >::getMemorySize().
Referenced by EMMG_SLDemagnetizedOperator::getMemorySize().
|
inlinestaticinherited |
get the min value for tChar type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for the tFlag type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tFloat type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for the array/vector indexing type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for the integer type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tLDouble type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tLInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tLLInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for the real type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tSInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tUChar type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for difference the array/vector indexing type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tUInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for the unsigned integer type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tULInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tULLInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
get the min value for tUSInt type
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
|
inlineinherited |
return the identity string of the object
References CORE_Object::pointer2String().
|
inlinestaticinherited |
get 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().
|
inlinestaticinherited |
get the infinity value
Referenced by BrentFunction::BrentFunction(), EMM_OperatorsTest::compareDiscretizedData(), EMM_IterativeTimeStep::EMM_IterativeTimeStep(), EMM_SLElementaryDemagnetizedMatrix::Kxy(), NRFunction::NRFunction(), EMM_PolynomialInterpolationTimeStep::optimizeTimeFunction(), and CORE_Test::testType().
|
inlineinherited |
get the shared pointer of this class into p
p | : shared pointer of the class This |
Referenced by CORE_Map< Key, Value >::getSharedPointer(), CORE_ArrayList< tString >::getSharedPointer(), EMM_Array< tCellFlag >::getSharedPointer(), CORE_Array< tCellFlag >::getSharedPointer(), CORE_MorseArray< tUChar >::getSharedPointer(), CORE_Vector< T >::getSharedPointer(), and CORE_Object::printObjectsInMemory().
|
inlineinherited |
get the shared pointer of this class into p
p | : shared pointer of the class This |
|
inlinevirtual |
return the size of the field
Implements EMM_RealField.
References EMM_RealField::getDimension(), and CORE_Array< T >::getSize().
Referenced by add(), cellDataToPointData(), EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField(), distanceMax(), divideBy(), getValues(), initField(), mean(), multiplyBy(), NewInstance(), norm(), normalize(), normMax(), pointDataToCellData(), saveToVTKStream(), sub(), toString(), and wedge().
|
inlinestaticinherited |
get the profilier
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().
|
inlinestaticinherited |
|
inlinevirtual |
get the string type
Implements EMM_RealField.
References CORE_Array< T >::getTypeToString().
Referenced by getValues().
get the value of the element at index i
i | index of the element |
Implements EMM_RealField.
get the vector value at point i of size dim
i | index of the point in (0,getSize()[ |
vs | coortdinate value of the point at index i |
Implements EMM_RealField.
References EMM_RealField::getDimension(), tDimension, and tReal.
|
inlineinherited |
get the value at point i and for coordinate k
i | index of the point in (0,getSize()[ |
k | : coordinate of the point in [0,getDimension()[ |
References EMM_RealField::getDimension(), tReal, and tUIndex.
Referenced by EMM_Test::compareField(), and EMM_DisplacementWaveTest::saveIntoFile().
|
inlinevirtual |
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References EMM_RealField::getDimension(), getSize(), getTypeToString(), and null.
|
inlinevirtual |
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References EMM_RealField::getDimension(), getSize(), getTypeToString(), and null.
|
inlinevirtual |
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References EMM_RealField::getDimension(), getSize(), getTypeToString(), and null.
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References EMM_RealField::getDimension(), getSize(), getTypeToString(), and null.
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References EMM_RealField::getDimension(), getSize(), getTypeToString(), and null.
get the values
size | the size of the values |
values | a pointer to the first value of the values of the field |
Reimplemented from EMM_RealField.
References add(), cellDataToPointData(), distanceMax(), divideBy(), EMM_RealField::getDimension(), getSize(), getTypeToString(), multiplyBy(), norm(), normMax(), null, pointDataToCellData(), sub(), tBoolean, tReal, tSInt, and tUIndex.
|
virtual |
init the field to the field multiplied by alpha This=alpha.f
alpha | the multiplicator value |
f | the field values |
Implements EMM_RealField.
References copy(), EMM_RealField::getDimension(), EMM_RealField::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), setSize(), tReal, tUIndex, and tUInteger.
Referenced by initField(), and setSize().
|
virtual |
init the field to the field multiplied by alpha This=alpha.f
alpha | the multiplicator value array |
f | the field values |
This[i][d]=alpha[i].f[i][d] for all d in [0,getDimension()[
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), initField(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), setSize(), tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
virtual |
init the field to the 3D vector
from | initial point |
to | excluded final point |
fx | the x-coordinate of the vector value of the field |
fy | the y-coordinate of the vector value of the field |
fz | the z-coordinate of the vector value of the field |
Implements EMM_RealField.
References getSize(), initField(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tReal, tUIndex, and tUInteger.
|
virtual |
init a part of field to field
from | index of the start point in [0,getSize()[ |
to | index 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 |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getValues(), initField(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, tReal, tUIndex, and tUInteger.
|
virtual |
init the field to uniform value in each direction
f | the value of the field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tReal, tUIndex, and tUInteger.
init the field by the file name
fileName | the name of the file |
Implements EMM_RealField.
References initField(), EMM_RealField::loadFromFile(), tReal, tSInt, and unmagnetized().
|
virtual |
init the field to the field multiplied by alpha This=s.alpha.f
s | the muplicator factor |
alpha | the multiplicator value array |
p | the power of p |
f | the field values |
This[i][d]=s.alpha[i]^p.f[i][d] for all d in [0,getDimension()[
Implements EMM_RealField.
References add(), EMM_RealField::getDimension(), EMM_RealField::getSize(), CORE_Array< T >::getSize(), initField(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), setSize(), tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
inlineinherited |
init the field to uniform value in each direction
f | the value of the field |
References EMM_RealField::copy(), EMM_RealField::initField(), tBoolean, tReal, tSInt, tString, and tUIndex.
|
inlineinherited |
init the field to the 3D vector
fx | the x-coordinate of the vector value of the field |
fy | the y-coordinate of the vector value of the field |
fz | the z-coordinate of the vector value of the field |
References EMM_RealField::getSize(), EMM_RealField::initField(), tReal, tUIndex, and EMM_RealField::unmagnetized().
|
inlinestaticinherited |
return true if the machine is a 32 bits machine
References CORE_Object::pointer2String(), CORE_Object::printObjectsInMemory(), and tString.
Referenced by CORE_Test::testType().
|
inlinestaticinherited |
return true if the machine is a 64 bits machine
Referenced by EMM_VTK::getVTKType(), and CORE_Test::testType().
|
inlineinherited |
test if the clas T is an instance of this class
References null.
Referenced by MATH_ToeplitzTest::toeplitzTest().
test if the object is an instance of className
name | name of the class |
References CORE_Object::getIdentityString().
|
inlinestaticinherited |
get if the memory checking is used
References CORE_Object::getClassName(), CORE_Object::mIsMemoryTesting, and tString.
Referenced by main().
load the steady array from file
fileName | filename of the file |
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(), EMM_RealField::loadFromStream(), CORE_String::New(), CORE_Integer::parseInt(), EMM_RealField::setDimension(), EMM_RealField::setSize(), tDimension, tUIndex, tUInteger, and tUSInt.
Referenced by EMM_Test::computeMField(), initField(), EMM_Input::loadFieldFromFile(), EMM_Input::loadFieldFromTXTFile(), EMM_ODETest::testODE(), and EMM_RealField::toString().
load the steady array from stream the steam contains the values of the field. One value per line
f | input stream |
d | number of data per line |
Implements EMM_RealField.
References EMM_Array< T >::loadFromStream(), and tBoolean.
|
virtual |
load the field and indicators associated to the field the stream will contain the values of the field. 3 value per line foolowed by indicators value
f | output stream |
indics | insicators to save at end of line. Indicators must have the same number of elements |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_Array< T >::loadFromStream(), and mArray.
|
virtual |
compute the mean of each direction
mean | the mean value |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, EMM_RealField::mean(), tReal, and tUIndex.
Referenced by fitToSize(), and mean().
|
virtual |
compute the mean of each direction with respect of weight
w | weight at each cell |
mean | the mean value |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, mean(), EMM_RealField::mean(), tDimension, CORE_Integer::toString(), tReal, and tUIndex.
|
staticinherited |
compute the mean of the array of size N x dim
[in] | nCells | number of points |
[in] | dim | : dimension of each point |
[in] | vs | values 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.
|
staticinherited |
compute the mean of the array of size N x dim
[in] | nCells | number of points |
[in] | dim | : dimension of each point |
[in] | ws | values of the weight of points of size N |
[in] | vs | values 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.
|
virtual |
compute This*=f
f | the multiplicator value |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), CORE_Array< T >::initArray(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tReal, tUIndex, and tUInteger.
Referenced by getValues().
|
virtual |
compute This*=f
f | the multiply array |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
|
inlinestatic |
constructor with a shared pointer
References EMMG_RealField().
Referenced by EMMG_SLRPPeriodicMultiScale::computeMultiGridExcitationField(), EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField(), NewInstance(), and EMMG_ClassFactory::NewInstance().
|
inlinevirtual |
create a new instance of real field with the smae dimension and size
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), and New().
compute the norm at point at index
index | index of the point in [0,getSize()[ |
Implements EMM_RealField.
References EMM_RealField::getDimension(), CORE_Array< T >::getSize(), mArray, tDimension, and tReal.
Referenced by distanceMax(), getValues(), norm(), normalize(), and normMax().
|
virtual |
compute the norm at all points
mod | the array to store the module of the vector at each point |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, norm(), OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tDimension, tReal, tUIndex, and tUInteger.
|
virtual |
normalize the field
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, norm(), OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, tReal, tUIndex, and tUInteger.
Referenced by fitToSize().
compute the point where the norm of the field is maximum
k | index of the point in [0,getSize()[ |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, norm(), OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED_REDUCTION, tDimension, tReal, tUIndex, and tUInteger.
Referenced by distanceMax(), and getValues().
|
inline |
get the value at point i for coordinate d
i | index of point in [0,getSize()[ |
d | index of coordinates in [0,getDimension()[ |
References EMM_RealField::getDimension().
|
inline |
get the value at point i for coordinate d
i | index of point in [0,getSize()[ |
d | index of coordinates in [0,getDimension()[ |
References EMM_RealField::getDimension().
|
inlineinherited |
multiply the field by f
f | : the multiply factor |
References EMM_RealField::multiplyBy().
|
inlineinherited |
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]
f | : the multiplicator array |
References EMM_RealField::multiplyBy().
|
inlineinherited |
add a field This+=f
f | the field to add |
References EMM_RealField::add().
|
inlineinherited |
sub a field This-=f
f | the field to sub |
References EMM_RealField::sub().
|
inlineinherited |
divide with respect of a real
f | the multiplicator factor |
References EMM_RealField::divideBy().
|
inlineinherited |
References EMM_RealField::copy(), EMM_RealField::divideBy(), and EMM_RealField::NewInstance().
get the value at index
i | index of the element in [0,getDimensio()*getSize()[ |
get the value at index
i | index of the element in [0,getDimensio()*getSize()[ |
|
inlinestaticinherited |
get the output
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().
|
virtual |
turn the field from point data to cll data
mesh | the mesh on which the field is defined |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_Grid3D::getElementsNumber(), EMM_Grid3D::getSegmentsNumber(), getSize(), EMM_Grid3D::getVerticesNumber(), EMM_Grid3D::isElementMagnetized(), mArray, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, CORE_Array< T >::setSize(), tDimension, CORE_Array< T >::transfertValuesByReference(), tReal, tUCInt, tUIndex, and tUInteger.
Referenced by getValues().
|
staticinherited |
return the string representation of a pointer
obj | : oject to get the string pointer |
References tString.
Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), CORE_Object::is32Architecture(), and CORE_Object::~CORE_Object().
|
staticinherited |
print object in memory
f | : output to print the objects in memory |
References CORE_Object::getIdentityString(), CORE_Object::getSharedPointer(), CORE_Object::mIsMemoryTesting, CORE_Object::mObjects, and tInteger.
|
inlinestaticinherited |
print object in memory in the standart output
Referenced by CORE_Object::is32Architecture(), and main().
|
inlinestaticinherited |
|
inlinestaticinherited |
save the steady array into file
fileName | filename of the file |
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 EMM_RealField::getDimension(), EMM_RealField::getSize(), EMM_RealField::saveToStream(), CORE_Time::toString(), tUIndex, and tUSInt.
Referenced by EMM_Test::computeMField(), EMMH_Hysteresis::run(), EMM_Output::saveFieldToTXTFile(), and EMM_RealField::toString().
|
inlinevirtual |
save the steady array into stream the steam will contain the values of the field. One value per line
f | output stream |
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_Array< T >::saveToStream(), saveToVTKStream(), tBoolean, EMM_RealField::toString(), tString, and tUIndex.
|
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
f | output stream |
indics | insicators to save at end of line. Indicators must have the same number of elements |
Implements EMM_RealField.
References EMM_RealField::getDimension(), mArray, and EMM_Array< tReal >::saveToStream().
|
virtual |
save the field in vtk
file | the output vtk stream |
vtk | the vtk class to save in the field |
name | : the name of the field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, and EMM_VTK::writeField().
Referenced by saveToStream().
|
virtual |
save the field in vtk
file | the output vtk stream |
vtk | the vtk class to save in the field |
weight | the weight of the points of the field |
name | : the name of the field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), CORE_Array< T >::getSize(), mArray, null, tReal, and EMM_VTK::writeField().
|
inlineinherited |
set the dimension
d | dimension of the field in [0,3[ |
References EMM_RealField::fitToSize(), EMM_RealField::initField(), EMM_RealField::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(), copy(), EMM_GaussLegendreRelaxation::discretize(), initField(), EMM_MultiScaleSDGrid::initialize(), EMM_DisplacementFVM_VIGROperator::initializeEquilibriumSolver(), EMM_DisplacementOperator::initializeEquilibriumSolver(), EMM_LandauLifschitzODE_RK::integrateMagnetizationFieldAtTime(), EMM_DisplacementFVM_Interpolator::interpolateUAtVertices(), EMM_RealField::loadFromFile(), EMM_CanonicalMassMatrix::product(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), and wedge().
|
virtual |
set the field by reference
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_RealField::getValues(), mArray, CORE_Array< T >::setValuesByReference(), tDimension, CORE_Integer::toString(), tReal, and tUIndex.
Referenced by fitToSize().
|
inlinestaticinherited |
set if the memory checking is used
v | : true to check memory |
Referenced by main().
|
inlinestaticinherited |
|
inlinevirtual |
set the size
s | the new size |
Implements EMM_RealField.
References copy(), EMM_RealField::getDimension(), initField(), CORE_Array< T >::setSize(), tReal, and tUIndex.
Referenced by EMMG_SLRPPeriodicMultiScale::computeMultiGridExcitationField(), EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField(), copy(), EMMG_SLPeriodicMultiScale::fineToCoarse(), and initField().
|
inlineprotectedinherited |
set this weak shared pointer called toDoAfterThis setting method
p | : shared pointer of the class This |
References CORE_Object::toDoAfterThisSetting().
|
inlinestaticinherited |
set the thread
thread | the shared pointer to the thread |
References null.
Referenced by EMM_Run::EMM_Run(), EMM_TensorsRun::EMM_TensorsRun(), and MATH_SolverRun::MATH_SolverRun().
set the value of the element at index i
i | index of the element |
v | value of the element set the value of the element at index i |
Implements EMM_RealField.
set the value of the element at index i
i | index of the element in [0,getSize()[ |
v | value of the element set the value of the element at index i |
Implements EMM_RealField.
References EMM_RealField::getDimension(), tDimension, and tReal.
|
inlineinherited |
set the value at point i and for coordinate k
i | index of the point in (0,getSize()[ |
k | : coordinate of the point in [0,getDimension()[ |
v | value of the k-coordinate of the i point set the value of the k_coordinate of the point i |
References EMM_RealField::getDimension(), EMM_RealField::setFieldByReference(), tReal, tUIndex, EMM_RealField::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().
|
private |
|
virtual |
compute This-=f
f | the field to sub |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), EMM_RealField::getSize(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tDimension, CORE_Integer::toString(), tReal, tUIndex, and tUInteger.
Referenced by getValues().
|
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().
return the string representation of the field
n | the number of points to print |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), mArray, tDimension, CORE_Real::toString(), CORE_Integer::toString(), tReal, tString, and tUIndex.
|
inlinevirtualinherited |
return the string representation of the field
Reimplemented from CORE_Object.
References EMM_RealField::loadFromFile(), EMM_RealField::loadFromStream(), EMM_RealField::saveToFile(), EMM_RealField::saveToStream(), EMM_RealField::saveToVTKStream(), tBoolean, tString, and tUSInt.
Referenced by EMM_RealField::getValues(), and saveToStream().
|
virtual |
unmagnetized the field in the mesh
mesh | the mesh defining the empty cell
|
Implements EMM_RealField.
References EMM_RealField::getDimension(), EMM_Grid3D::getElementsNumber(), EMM_Grid3D::getNeighborsIndicators(), EMM_Grid3D::IS_ELEMENT_MAGNETIZED(), OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, tCellFlag, tDimension, tReal, tUIndex, and tUInteger.
Referenced by initField().
|
virtual |
compute the vectorial product of two fields This & X Y=alpha this ^ X
X | : the real field |
Y | the output real field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), EMM_RealField::initField(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), EMM_RealField::setSize(), tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInteger, EMM_RealField::wedge(), EMM_Object::X, and EMM_Object::Y.
Referenced by fitToSize(), and wedge().
|
virtual |
compute the vectorial product of two fields This & X Y=alpha this ^ X
alpha | the alpha value |
X | : the real field |
Y | the output real field |
Implements EMM_RealField.
References EMM_RealField::getDimension(), getSize(), EMM_RealField::initField(), mArray, null, OMP_GET_THREAD_ID, OMP_GET_THREADS_NUMBER, OMP_PARALLEL_PRIVATE_SHARED, EMM_RealField::setDimension(), EMM_RealField::setSize(), tDimension, CORE_Integer::toString(), tReal, tUIndex, tUInteger, wedge(), EMM_RealField::wedge(), EMM_Object::X, and EMM_Object::Y.
|
staticinherited |
|
private |
|
staticinherited |
Referenced by EMM_MatterField::adimensionize(), EMM_MagnetostrictionOperator::adimensionize(), EMM_Matter::adimensionize(), EMM_CubicAnisotropyOperator::ComputeMagneticExcitation(), EMM_CubicAnisotropyOperator::computeMagneticExcitationField(), EMM_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMM_CubicAnisotropyOperator::ComputeMagneticExcitationGradient(), EMM_Test::createMatters(), EMM_MatterField::getElasticTensorAdimensionizedParameter(), and EMM_MatterTest::testAdimensionize().
|
staticinherited |
Referenced by EMM_DisplacementFVM_VOGGROperator::computeGradAlmostNullUAtCellByOstrogradskiGreenIntegration(), EMM_DisplacementFVM_VTEGROperator::computeGradAlmostNullUAtCellByTaylorExpansionWithNeumannInterpolation(), EMM_DisplacementFVM_SSGROperator::computeGradAlmostNullUAtFaceByStokesIntegration(), EMM_DisplacementFVM_VOGGROperator::computeGradAlmostNullUAtNextCellByOstrogradskiGreenIntegration(), EMM_DisplacementFVM_VTEGROperator::computeGradUAtCellByTaylorExpansionWithNeumannInterpolation(), EMM_DisplacementFVM_VGROperator::computeGradUAtFace(), EMM_DisplacementFVM_SSGROperator::computeGradUAtFaceByStokesIntegration(), EMM_DisplacementFVM_STEGROperator::computeGradUAtFaceByTaylorExpansion(), EMM_DisplacementFVM_Interpolator::interpolateUAtEdge(), and EMM_DisplacementFVM_Interpolator::interpolateUAtVertices().
|
staticinherited |
|
staticinherited |
Referenced by EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField(), fitToSize(), EMM_MassMatrix::getElementVolume(), EMM_CanonicalMassMatrix::isSymmetric(), EMM_BlockMassMatrix::product(), EMM_CondensedMassMatrix::product(), EMM_RealField::setValue(), EMM_CanonicalMassMatrix::solve(), EMM_BlockMassMatrix::solve(), EMM_BlockMassMatrix::toString(), and wedge().
|
staticinherited |