C++ main module for emicrom Package
1.0
|
This class describes a real array. More...
#include <EMM_RealArray.h>
Public Member Functions | |
EMM_RealArray () | |
create the interface More... | |
EMM_RealArray (const tUIndex &n) | |
create the interface More... | |
virtual | ~EMM_RealArray (void) |
destroy the interface More... | |
EMM_RealArray & | operator= (const tReal &f) |
init the field to uniform value in each direction More... | |
EMM_RealArray & | operator= (const tReal f[4]) |
init the field to the vector f More... | |
EMM_RealArray & | operator= (const EMM_RealArray &f) |
copy the real steady field More... | |
void | copy (const EMM_RealArray &f) |
copy the array More... | |
tBoolean | loadFromFieldFile (const tString &fileName) |
load the array froma field file More... | |
void | getSharedPointer (boost::shared_ptr< EMM_Array< tReal > > &p) |
return the shared pointer corresponding to the class with casting d* More... | |
void | getSharedPointer (boost::shared_ptr< const EMM_Array< tReal > > &p) const |
return the shared pointer corresponding to the class whith casting More... | |
void | getSharedPointer (boost::shared_ptr< CORE_Array< tReal > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const CORE_Array< tReal > > &p) const |
return the shared pointer corresponding to the class whith casting 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... | |
EMM_Array< tReal > & | operator+= (const Q &f) |
This+=f. More... | |
EMM_Array< tReal > & | operator-= (const Q &f) |
This+=f. More... | |
EMM_Array< tReal > & | operator*= (const Q &f) |
This*=f. More... | |
EMM_Array< tReal > & | operator/= (const Q &f) |
This/=f. More... | |
tBoolean | saveToFile (const tString &fileName) const |
save the steady array into file More... | |
tBoolean | saveToStream (ofstream &f) const |
save the values of the array into the stream with 1 value per line More... | |
tBoolean | saveToStream (ofstream &f, const tUSInt &dim) const |
save the values of the array into the stream with dim values per line More... | |
tBoolean | loadFromFile (const tString &fileName) |
load the steady array from file More... | |
tBoolean | loadFromStream (ifstream &f, const vector< tUSInt > &dims, const vector< EMM_Array< tReal > *> &arrays) const |
load the values to indicators from the stream More... | |
tBoolean | loadFromStream (ifstream &f, const tUSInt &dim) |
load the values of the array from the stream with dim value per line More... | |
tBoolean | loadFromStream (ifstream &f) |
load the values of the array from the stream with one value per line More... | |
void | reserve (const tUIndex &cap) |
reserve the capacity More... | |
virtual void | fitToSize () |
fit the array alocation exactly to size fit the allocation of the array to its size More... | |
const tReal & | operator[] (const tUIndex &i) const |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
tReal & | operator[] (const tUIndex &i) |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
void | copy (const CORE_Array< Q > &f) |
copy the array More... | |
void | copy (const CORE_Array< Q > *f) |
copy the array of the pointer More... | |
void | setSize (const tUIndex &n) |
set the size More... | |
virtual void | clear () |
clear the array : desallocate the array More... | |
void | initArray (const Q &f) |
init the array to uniform value More... | |
void | initArray (const tUIndex &p, const Q B[]) |
init array to vector B with p-dimension More... | |
void | initArray (const vector< Q > &B) |
init array to vector B More... | |
void | initArray (const tUIndex &from, const tUIndex &to, const Q &Bx, const Q &By, const Q &Bz) |
init array to vector (Bx,By,Bz) with 3-dimension More... | |
void | initArray (const tUIndex &from, const tUIndex &to, const tUIndex &p, const tUSInt &inc, const Q B[]) |
init array to vector B with p-dimension More... | |
void | initArray (const tUIndex &from, const tUIndex &to, const tUIndex &p, const Q B[]) |
init array to vector B with p-dimension More... | |
void | initArray (const tUIndex &from, const tString &values) |
init array to values More... | |
void | initArray (const tString &values) |
init array to values More... | |
tBoolean | setValuesByReference (const tUIndex &n, Q *array) |
set the the values by reference More... | |
tBoolean | transfertValuesByReference (CORE_Array< Q > &array) |
transfert the values of the array into this More... | |
void | setValues (const tUIndex &n, const Q *v) |
set the values of the array by copying the n first values of pointer v More... | |
void | setValues (const vector< Q > &v) |
set the values of the array by copying the vector More... | |
void | setValues (const CORE_Array< Q > &v) |
copy the the values of v t o this More... | |
void | setValue (const tUIndex &i, const tReal &v) |
set the value of the array at index i More... | |
void | set (const tUIndex &i, const tReal &v) |
set the value of the array at index i More... | |
void | set (const tReal &alpha, const CORE_Array< Q > &Y) |
This+=alpha.Y. More... | |
virtual tULLInt | getMemorySize () const |
return the memory size in byte More... | |
tReal & | get (const tUIndex &i) |
get the value of the array at index i More... | |
const tReal & | get (const tUIndex &i) const |
get the value of the array at index i More... | |
tString | getTypeToString () const |
get the type name of the array More... | |
void | add (const tReal &alpha, const CORE_Array< Q > &Y, const tReal &beta) |
This=alpha.Y+beta.This. More... | |
void | add (const tReal &alpha, const CORE_Array< Q > &Y) |
This+=alpha.Y. More... | |
void | add (const CORE_Array< Q > &Y) |
This+=Y. More... | |
void | sub (const tReal &alpha, const CORE_Array< Q > &Y) |
This-=alpha.Y. More... | |
void | sub (const CORE_Array< Q > &Y) |
This-=Y. More... | |
void | multiply (const CORE_Array< Q > &Y) |
This[i]*=Y[i]. More... | |
tReal | max (tUIndex &k) const |
get the absolute mximum value of this More... | |
tReal | norm2 () const |
get the squared norm More... | |
tReal | sum () const |
get the sum of all the element More... | |
tReal | dot (const CORE_Array< Q > &y) const |
return s=<x,y> More... | |
tReal | norm () const |
get the norm More... | |
tReal | distance2 (const CORE_Array< Q > &y) const |
return distance squared More... | |
tReal | distanceMax (const CORE_Array< Q > &y, tUIndex &k) const |
return the max of distance More... | |
tReal | distanceMax (const CORE_Array< Q > &y) const |
return the max of distance More... | |
tReal | distance (const CORE_Array< Q > &y) const |
get the distance More... | |
const tReal & | getLastElement () const |
get last element for reading More... | |
tReal & | getLastElement () |
get last element for writing More... | |
const tReal * | getValues () const |
get the values of the array for reading More... | |
tReal * | getValues () |
get the values of the array for writing More... | |
const tReal * | getValues (tUIndex &n) const |
get the values of the array for reading More... | |
tReal * | getValues (tUIndex &n) |
get the values of the array for writing More... | |
tReal & | getValue (const tUIndex &i) |
get the values of the array for writing More... | |
const tReal & | getValue (const tUIndex &i) const |
get the values of the array for reading More... | |
void | reverse () |
reverse the array in [0;mSize[ More... | |
void | swap (CORE_Array< tReal > &f) |
swap the tow arrays param[in,out] f : the array to swap with More... | |
const tUIndex & | getSize () const |
return the size of the array for reading More... | |
tUIndex & | getSize () |
return the size of the array for writing More... | |
virtual tString | toString () const |
turn the array into string 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::EMM_RealArray | New () |
return a shared pointer to a real array More... | |
static tBoolean | saveToStream (ofstream &f, const vector< tUSInt > &dims, const vector< const EMM_Array< tReal > * > &inds) |
save the values of the array into the stream with dim values per line 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... | |
Protected Member Functions | |
const tUIndex & | getCapacity () const |
get the capacity More... | |
void | setThis (SP::CORE_Object p) |
set this weak shared pointer called toDoAfterThis setting method More... | |
virtual void | toDoAfterThisSetting () |
method called after setThis() method this method can oly be called once. More... | |
Private Member Functions | |
SP_OBJECT (EMM_RealArray) | |
This class describes a real array.
EMM_RealArray::EMM_RealArray | ( | ) |
EMM_RealArray::EMM_RealArray | ( | const tUIndex & | n | ) |
create the interface
|
virtual |
destroy the interface
|
inlineinherited |
This=alpha.Y+beta.This.
alpha | real value |
Y | array value |
beta | real value |
|
inlineinherited |
This+=alpha.Y.
alpha | real value |
Y | array value |
|
inlineinherited |
This+=Y.
Y | array value |
|
inlinevirtualinherited |
clear the array : desallocate the array
|
inlinestaticinherited |
compute epsilon
void EMM_RealArray::copy | ( | const EMM_RealArray & | f | ) |
copy the array
f | : array to copy |
References CORE_Array< T >::copy().
Referenced by EMMG_RealField::dotArray(), and operator=().
|
inherited |
copy the array
f | : array to copy |
|
inlineinherited |
copy the array of the pointer
f | : pointer to the array to copy |
|
inlineinherited |
get the distance
|
inlineinherited |
return distance squared
|
inlineinherited |
return the max of distance
y | the array to compute the max distance to This |
k | the index where the distance is max |
|
inlineinherited |
return the max of distance
y | the array to compute the max distance to This |
|
inlineinherited |
return s=<x,y>
|
virtualinherited |
fit the array alocation exactly to size fit the allocation of the array to its size
|
inlineinherited |
get the value of the array at index i
i | index of the array |
|
inlineinherited |
get the value of the array at index i
i | index of the array |
|
inlineprotectedinherited |
get the capacity
|
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 |
|
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
|
inlineinherited |
get last element for reading
|
inlineinherited |
get last element for writing
|
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().
|
inlinevirtualinherited |
return the memory size in byte
|
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 |
return the shared pointer corresponding to the class with casting d*
p | : the returned shared pointer array |
|
inlineinherited |
return the shared pointer corresponding to the class whith casting
p | : the returned shared pointer array |
|
inlineinherited |
return the shared pointer corresponding to the class with casting
|
inlineinherited |
return the shared pointer corresponding to the class whith casting
|
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 |
|
inlineinherited |
return the size of the array for reading
|
inlineinherited |
return the size of the array for writing
|
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 |
|
inlineinherited |
get the type name of the array
|
inlineinherited |
get the values of the array for writing
i | index of the value |
|
inlineinherited |
get the values of the array for reading
i | index of the value |
|
inlineinherited |
get the values of the array for reading
|
inlineinherited |
get the values of the array for writing
|
inlineinherited |
get the values of the array for reading
n | OUTPUT the size of the values |
|
inlineinherited |
get the values of the array for writing
n | OUTPUT the size of the values |
|
inlineinherited |
|
inherited |
init array to vector B with p-dimension
p | dimension of vector B |
B | : value of the vector |
|
inlineinherited |
init array to vector B
|
inherited |
|
inherited |
init array to vector B with p-dimension
from | : initial index |
to | : excluded final index |
p | dimension of the vector B |
inc | increment of the vector B |
B | : value of the vector B |
|
inlineinherited |
init array to vector B with p-dimension
from | : initial index |
to | : excluded final index |
p | dimension of the vector B |
B | : value of the vector B |
|
inherited |
init array to values
from | : initial index |
values | string reprensentation of the values: of the form [x,y,z,...] or (x,y,z,..) |
|
inlineinherited |
init array to values
values | string reprensentation of the values: of the form [x,y,z,...] or (x,y,z,..) |
|
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 array froma field file
fileName | : name of the field field in txt format |
References CORE_String::New(), CORE_Integer::parseInt(), CORE_Array< tReal >::setSize(), tDimension, tReal, tUIndex, tUInteger, and tUSInt.
Referenced by operator=(), and EMMH_Hysteresis::setExternalMagneticExcitationField().
load the steady array from file
fileName | filename of the file |
|
inherited |
load the values to indicators from the stream
f | output stream |
dims | number of values of each indicator to print at each line |
arrays | the indicators to load: the size of this indicator at index i must be at least its divided by dims[i] |
load the values of the array from the stream with dim value per line
f | output stream |
dim | the number of values per line |
load the values of the array from the stream with one value per line
f | output stream |
|
inlineinherited |
get the absolute mximum value of this
|
inlineinherited |
This[i]*=Y[i].
Y | array value |
|
inlinestatic |
return a shared pointer to a real array
References EMM_RealArray().
|
inlineinherited |
get the norm
|
inlineinherited |
get the squared norm
This*=f.
f | the multiplicator value |
This+=f.
f | the parameter to add |
This+=f.
f | the parameter to add |
This/=f.
f | the division value |
|
inline |
init the field to uniform value in each direction
f | the value of the field |
References CORE_Array< tReal >::initArray().
|
inline |
init the field to the vector f
f | : the vector value of the field |
References CORE_Array< tReal >::initArray().
|
inline |
copy the real steady field
References copy(), loadFromFieldFile(), tBoolean, and tString.
|
inlineinherited |
get the i-th element Assert in (i>-1) Assert in (i<size());
|
inlineinherited |
get the i-th element Assert in (i>-1) Assert in (i<size());
|
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().
|
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().
|
inlineinherited |
reserve the capacity
cap | the new capacity |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineinherited |
reverse the array in [0;mSize[
save the steady array into file
fileName | filename of the file |
save the values of the array into the stream with 1 value per line
f | output stream |
Referenced by EMMG_RealField::saveToStream().
save the values of the array into the stream with dim values per line
f | output stream |
dim | number of values per line |
|
staticinherited |
save the values of the array into the stream with dim values per line
f | output stream |
dims | number of values of each indicator to print at each line |
inds | the indicators to save. the size of this indicators must be at least the size of this / dim |
|
inlineinherited |
set the value of the array at index i
i | index of the array |
v | the value |
|
inlineinherited |
This+=alpha.Y.
alpha | real value |
Y | array value |
|
inlinestaticinherited |
set if the memory checking is used
v | : true to check memory |
Referenced by main().
|
inlinestaticinherited |
|
inlineinherited |
set the size
n | size of the array allocate the array of the capacity of the array is not big enough |
Referenced by loadFromFieldFile().
|
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().
|
inlineinherited |
set the value of the array at index i
i | index of the array |
v | the value |
|
inlineinherited |
set the values of the array by copying the n first values of pointer v
n | size of pointer v |
v | the pointer of values |
|
inlineinherited |
set the values of the array by copying the vector
v | the vector to copy |
|
inlineinherited |
copy the the values of v t o this
v | the array to copy |
|
inlineinherited |
set the the values by reference
n | size of the array |
array | value of the array |
this array will not be deleted at the deleting of the class This.
|
private |
|
inlineinherited |
This-=alpha.Y.
alpha | real value |
Y | array value |
|
inlineinherited |
This-=Y.
Y | array value |
|
inlineinherited |
get the sum of all the element
|
inlineinherited |
swap the tow arrays param[in,out] f : the array to swap with
This is replace by the values of f and f is replaced by the values of this
|
inlineprotectedvirtualinherited |
method called after setThis() method this method can oly be called once.
Reimplemented in EMM_DisplacementOperator, EMM_DisplacementFVMOperator, EMM_GaussLegendreRelaxation, EMM_GradGaussLegendreRelaxation, and EMM_Object.
Referenced by CORE_Object::setThis().
|
virtualinherited |
turn the array into string
Reimplemented from CORE_Object.
|
inlineinherited |
transfert the values of the array into this
array:array | to transfert the values |