C++ main module for emicrom Package
1.0
|
#include <CORE_ArrayList.h>
Public Member Functions | |
CORE_ArrayList () | |
build an array of T* More... | |
CORE_ArrayList (const CORE_Array< T > &c) | |
build an array by a copy of c More... | |
CORE_ArrayList (const tUIndex &n) | |
build an array of size n More... | |
virtual | ~CORE_ArrayList () |
destroy an array of T* More... | |
void | getSharedPointer (boost::shared_ptr< CORE_ArrayList< T > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const CORE_ArrayList< T > > &p) const |
return the shared pointer corresponding to the class whith casting More... | |
template<class Q > | |
CORE_ArrayList< T > & | operator= (const CORE_ArrayList< Q > &f) |
operator = More... | |
template<class Q > | |
CORE_ArrayList< T > & | operator= (const Q &f) |
operator = More... | |
template<class Q > | |
void | copy (const CORE_Array< Q > &f) |
copy the array list f More... | |
void | setCapacityFactor (const tFlag &n) |
set the capacity factor More... | |
const tFlag & | getCapacityFactor () const |
get the capacity factor More... | |
void | setOrder (const tFlag &order) |
set the oder More... | |
const tFlag & | getOrder () const |
get the oder More... | |
virtual void | clear () |
clear the array More... | |
template<class Q > | |
void | push_back (const Q &v) |
void | insertAtIndex (const tUIndex &i, const T &v) |
insert the object at index i More... | |
tUIndex | insert (const T &v) |
insert the element in the array with respect to the order of the list More... | |
tBoolean | remove (const T &v) |
remove all the element with the value More... | |
void | removeAtIndex (const tUIndex &i) |
remove the element at index More... | |
void | contractToLastElements (const tUIndex &n) |
keep only the last n elements of the array and set its capacity also to n More... | |
tBoolean | exists (const T &obj) const |
return rtur if the value obj exists More... | |
void | reverse () |
reverse the array More... | |
void | append (const CORE_ArrayList< T > &array) |
add the arry list at the end More... | |
void | sort (const tFlag &order) |
sort the array in an increasing order obj[i-1] is obj[i] with respect to order More... | |
void | sort () |
sort the array in an increasing order obj[i-1] is obj[i] with respect to getOrder More... | |
tBoolean | search (const T &value, tUIndex &index) |
search the value in values vector ordered in order More... | |
void | getSharedPointer (boost::shared_ptr< CORE_Array< T > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const CORE_Array< T > > &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... | |
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 T & | operator[] (const tUIndex &i) const |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
T & | operator[] (const tUIndex &i) |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
template<class Q > | |
CORE_Array< T > & | operator+= (const Q &f) |
This+=f. More... | |
template<class Q > | |
CORE_Array< T > & | operator-= (const Q &f) |
This-=f. More... | |
template<class Q > | |
CORE_Array< T > & | operator*= (const Q &f) |
This*=f. More... | |
template<class Q > | |
CORE_Array< T > & | operator/= (const Q &f) |
This/=f. More... | |
template<class Q > | |
void | copy (const CORE_Array< Q > *f) |
copy the array of the pointer More... | |
void | setSize (const tUIndex &n) |
set the size More... | |
template<class Q > | |
void | initArray (const Q &f) |
init the array to uniform value More... | |
template<class Q > | |
void | initArray (const tUIndex &p, const Q B[]) |
init array to vector B with p-dimension More... | |
template<class Q > | |
void | initArray (const vector< Q > &B) |
init array to vector B More... | |
template<class Q > | |
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... | |
template<class Q > | |
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... | |
template<class Q > | |
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... | |
template<class Q > | |
tBoolean | setValuesByReference (const tUIndex &n, Q *array) |
set the the values by reference More... | |
template<class Q > | |
tBoolean | transfertValuesByReference (CORE_Array< Q > &array) |
transfert the values of the array into this More... | |
template<class Q > | |
void | setValues (const tUIndex &n, const Q *v) |
set the values of the array by copying the n first values of pointer v More... | |
template<class Q > | |
void | setValues (const vector< Q > &v) |
set the values of the array by copying the vector More... | |
template<class Q > | |
void | setValues (const CORE_Array< Q > &v) |
copy the the values of v t o this More... | |
void | setValue (const tUIndex &i, const T &v) |
set the value of the array at index i More... | |
void | set (const tUIndex &i, const T &v) |
set the value of the array at index i More... | |
template<class Q > | |
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... | |
T & | get (const tUIndex &i) |
get the value of the array at index i More... | |
const T & | 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... | |
template<class Q > | |
void | add (const tReal &alpha, const CORE_Array< Q > &Y, const tReal &beta) |
This=alpha.Y+beta.This. More... | |
template<class Q > | |
void | add (const tReal &alpha, const CORE_Array< Q > &Y) |
This+=alpha.Y. More... | |
template<class Q > | |
void | add (const CORE_Array< Q > &Y) |
This+=Y. More... | |
template<class Q > | |
void | sub (const tReal &alpha, const CORE_Array< Q > &Y) |
This-=alpha.Y. More... | |
template<class Q > | |
void | sub (const CORE_Array< Q > &Y) |
This-=Y. More... | |
template<class Q > | |
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... | |
template<class Q > | |
tReal | dot (const CORE_Array< Q > &y) const |
return s=<x,y> More... | |
tReal | norm () const |
get the norm More... | |
template<class Q > | |
tReal | distance2 (const CORE_Array< Q > &y) const |
return distance squared More... | |
template<class Q > | |
tReal | distanceMax (const CORE_Array< Q > &y, tUIndex &k) const |
return the max of distance More... | |
template<class Q > | |
tReal | distanceMax (const CORE_Array< Q > &y) const |
return the max of distance More... | |
template<class Q > | |
tReal | distance (const CORE_Array< Q > &y) const |
get the distance More... | |
const T & | getLastElement () const |
get last element for reading More... | |
T & | getLastElement () |
get last element for writing More... | |
const T * | getValues () const |
get the values of the array for reading More... | |
T * | getValues () |
get the values of the array for writing More... | |
const T * | getValues (tUIndex &n) const |
get the values of the array for reading More... | |
T * | getValues (tUIndex &n) |
get the values of the array for writing More... | |
T & | getValue (const tUIndex &i) |
get the values of the array for writing More... | |
const T & | getValue (const tUIndex &i) const |
get the values of the array for reading More... | |
void | swap (CORE_Array< T > &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 boost::shared_ptr< CORE_ArrayList< T > > | New () |
return a CORE_Array shared pointer More... | |
static boost::shared_ptr< CORE_ArrayList< T > > | New (const tUIndex &n) |
return a CORE_Array shared pointer More... | |
static void | sort (T *items, const tUIndex &N, const tFlag &order) |
sort the array pointer More... | |
static tBoolean | search (const T *values, const tUIndex &n, const tFlag &order, const T &value, tUIndex &index) |
search the value in values array ordered in order 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... | |
template<class Q > | |
static tBoolean | compare (const Q &a, const Q &b, const tFlag &order) |
compare 2 object a & b More... | |
static tBoolean | compareString (const tString &a, const tString &b, const tFlag &order) |
compare 2 string a & b More... | |
static tFlag | reverse (const tFlag &oder) |
return the reverse order More... | |
Static Public Attributes | |
static const tFlag | NO_ORDER =0 |
static const tFlag | EQ =1 |
static const tFlag | NEQ =2 |
static const tFlag | LT =3 |
= More... | |
static const tFlag | LE =4 |
static const tFlag | GT =5 |
static const tFlag | GE =6 |
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 | |
boost::shared_ptr< CORE_ArrayList< T > > | getThis () |
return the shared pointer this More... | |
boost::shared_ptr< const CORE_ArrayList< T > > | getThis () const |
return the shared pointer const this More... | |
Private Attributes | |
tFlag | mCapacityFactor |
tFlag | mOrder |
|
inline |
build an array of T*
|
inline |
build an array by a copy of c
c | array to copy |
|
inline |
build an array of size n
n | the size of the array to build |
|
inlinevirtual |
destroy an array of T*
|
inlineinherited |
This=alpha.Y+beta.This.
alpha | real value |
Y | array value |
beta | real value |
Referenced by CORE_Array< tCellFlag >::add(), EMM_WaveFEMTest::computeWaveAtFirstTime(), CORE_SharedPointersListVMap< Key, Value >::getKeys(), CORE_Map< Key, Value >::getKeys(), and CORE_Array< tCellFlag >::sub().
|
inlineinherited |
This+=alpha.Y.
alpha | real value |
Y | array value |
|
inlineinherited |
This+=Y.
Y | array value |
void CORE_ArrayList< T >::append | ( | const CORE_ArrayList< T > & | array | ) |
add the arry list at the end
Referenced by CORE_ArrayList< tString >::exists().
|
inlinevirtual |
clear the array
Reimplemented from CORE_Array< T >.
Reimplemented in CORE_Array2D< T >, and CORE_Array3D< T >.
|
inlinestaticinherited |
compare 2 object a & b
a | the first object to compare |
b | : the second object to compare |
order | the type of order in EQ,NEQ,LT,LE,GT,GE (=,!=,<,<=,>,>=) |
Referenced by CORE_List::compareString(), CORE_ArrayList< tString >::insert(), CORE_Vector< T >::search(), CORE_ArrayList< tString >::sort(), and CORE_Vector< T >::sort().
|
inlinestaticinherited |
compare 2 string a & b
a | the first string to compare |
b | : the second string to compare |
order | the type of order in EQ,NEQ,LT,LE,GT,GE (=,!=,<,<=,>,>=) |
References CORE_List::compare(), CORE_List::reverse(), and tFlag.
|
inlinestaticinherited |
compute epsilon
void CORE_ArrayList< T >::contractToLastElements | ( | const tUIndex & | n | ) |
keep only the last n elements of the array and set its capacity also to n
n | the number of element to kepp |
Referenced by CORE_ArrayList< tString >::clear().
|
inline |
copy the array list f
f | : the array list to copy |
Referenced by CORE_StringArrayList::operator=(), and CORE_ArrayList< tString >::operator=().
|
inlineinherited |
copy the array of the pointer
f | : pointer to the array to copy |
|
inlineinherited |
get the distance
|
inlineinherited |
return distance squared
Referenced by CORE_Array< tCellFlag >::distance().
|
inlineinherited |
return the max of distance
y | the array to compute the max distance to This |
k | the index where the distance is max |
Referenced by CORE_Array< tCellFlag >::distanceMax().
|
inlineinherited |
return the max of distance
y | the array to compute the max distance to This |
|
inlineinherited |
return s=<x,y>
|
inline |
return rtur if the value obj exists
obj | the value to search |
|
virtualinherited |
fit the array alocation exactly to size fit the allocation of the array to its size
Reimplemented in CORE_Array2D< T >.
Referenced by CORE_ArrayList< tString >::contractToLastElements(), CORE_Array2D< T >::fitToSize(), EMMG_RealField::fitToSize(), CORE_MorseArray< tUChar >::fitToSize(), EMM_MatterField::getMatterParameterDistribution(), CORE_MorseArray< tUChar >::MergeMorseArray(), CORE_MorseArray< tUChar >::MergeMorseArrays(), and CORE_Array< tCellFlag >::reserve().
|
inlineinherited |
get the value of the array at index i
i | index of the array |
Referenced by EMM_ZeemanOperator::computeEnergy(), EMM_ZeemanOperator::computeEnergyWithMagneticExcitation(), EMM_TensorsTest::doubleDotCrossDoubleDotScalarTests(), CORE_MorseArray< tUChar >::getIndices(), EMM_DisplacementOperator::getLimitConditionOnPoints(), EMM_MassMatrix::getLimitConditionPoints(), EMM_Grid3D::getNeighborsIndicators(), MATH_GaussLegendreIntegration::getPoints(), EMM_LandauLifschitzSystem::getSigma(), MATH_GaussLegendreIntegration::getWeights(), and EMM_RelaxationTest::testNewM().
|
inlineinherited |
get the value of the array at index i
i | index of the array |
|
inlineprotectedinherited |
get the capacity
Referenced by CORE_ArrayList< tString >::append(), CORE_ArrayList< tString >::insertAtIndex(), CORE_ArrayList< tString >::push_back(), and CORE_Array< tCellFlag >::transfertValuesByReference().
|
inline |
get the capacity factor
Referenced by CORE_ArrayList< tString >::copy().
|
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
Referenced by CORE_Test::testArray().
|
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
Referenced by EMM_MinimalExchangeOperator::getMemorySize(), MATH_MultiLevelsFFTToeplitzMatrix::getMemorySize(), MATH_FullMatrix::getMemorySize(), MATH_ArrayVector::getMemorySize(), MATH_MaskArrayVector::getMemorySize(), EMMG_RealField::getMemorySize(), CORE_MorseArray< tUChar >::getMemorySize(), and EMM_DisplacementOperator::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().
|
inline |
get the oder
Referenced by CORE_ArrayList< tString >::copy(), and CORE_ArrayList< tString >::search().
|
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().
|
inline |
return the shared pointer corresponding to the class with casting
p | a return shared pointer to this |
Referenced by CORE_ArrayList< tString >::getThis().
|
inline |
return the shared pointer corresponding to the class whith casting
p | a return shared pointer to this |
|
inlineinherited |
return the shared pointer corresponding to the class with casting
Referenced by CORE_Array< tCellFlag >::getThis().
|
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
Referenced by EMMG_RealField::add(), CORE_Array< tCellFlag >::add(), CORE_Array2D< T >::addRow(), EMM_Matter::adimensionize(), CORE_ArrayList< tString >::append(), EMM_DisplacementFVMOperator::buildDataOnDirichletBoundaryFaces(), EMM_DisplacementFVMOperator::buildDataOnNeumannBoundaryFaces(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::buildLeadingDimensions(), EMM_Grid3D::buildMagnetizedElements(), EMM_Grid3D::buildMagnetizedNeighborsIndices(), EMM_FullExchangeOperator::buildMatrix(), EMM_Grid3D::buildNeighborsIndices(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::buildSpectralSpace(), EMM_OperatorsTest::compareDiscretizedData(), EMM_DisplacementFVMOperator::computeCineticEnergy(), EMM_DisplacementFEMOperator::computeElasticTensor(), EMM_StaticMagneticTensorOperator::computeEnergy(), EMM_CubicAnisotropyOperator::computeEnergy(), EMM_MagnetostrictionOperator::computeEnergy(), EMM_DisplacementOperator::computeEnergy(), EMM_AnisotropyOperator::computeEnergyWithMagneticExcitation(), EMMG_LandauLifschitzFunction::computeFunction(), EMMG_LandauLifschitzFunction::computeGradFunction(), EMMG_DemagnetizedOperator::computeMagneticExcitationField(), EMM_StaticMagnetostrictionOperator::computeMagneticExcitationField(), EMM_LinearAnisotropyOperator::computeMagneticExcitationField(), EMM_StaticMagneticTensorOperator::computeMagneticExcitationField(), EMM_CubicAnisotropyOperator::computeMagneticExcitationField(), EMM_MinimalExchangeOperator::computeMagneticExcitationField(), EMM_AnisotropyOperator::computeMagneticExcitationField(), EMMG_SLDemagnetizedOperator::computeMagneticExcitationField(), EMM_MagnetostrictionOperator::computeMagneticExcitationField(), EMM_StaticMagneticTensorOperator::computeMagneticExcitationFieldGradient(), EMM_CubicAnisotropyOperator::computeMagneticExcitationFieldGradient(), EMM_AnisotropyOperator::computeMagneticExcitationFieldGradient(), EMM_DisplacementFVMOperator::computeMagneticStress(), EMM_DisplacementFEMOperator::computeMagneticStress(), EMMG_LandauLifschitzFunction::computePartialGradMFunction(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::computeSpectralSpaceSizePerDimension(), EMM_DisplacementFEMOperator::computeStressConstraintEnergy(), EMM_WaveFDMTest::computeVelocityWaveAtPreviousTime(), EMM_WaveFDMTest::computeWaveAtFirstTime(), EMM_WaveFEMTest::computeWaveAtFirstTime(), EMM_WaveFDMTest::computeWaveAtPreviousTime(), CORE_ArrayList< tString >::contractToLastElements(), CORE_Array2D< T >::copy(), EMM_Matter::copy(), MATSGN_ComplexArray::copy(), CORE_Array< tCellFlag >::copy(), FFTW_ComplexArray::copy(), EMM_MatterField::createAnisotropyOperator(), CORE_Array< tCellFlag >::distance2(), CORE_Array< tCellFlag >::distanceMax(), EMMG_RealField::divideBy(), EMMG_RealField::dot(), CORE_Array< tCellFlag >::dot(), EMMG_RealField::dotArray(), CORE_ArrayList< tString >::exists(), MATSGN_FFT::fastFourierTransformND_FFTW(), EMM_Matter::getAdimensionizedElasticTensor(), EMM_Matter::getAdimensionizedMagneticTensor(), MATH_ArrayVector::getCapacity(), MATH_MaskArrayVector::getCapacity(), MATH_Integration::getDimension(), EMM_AnisotropyDirectionsField::getDirectionsSize(), EMM_Matter::getElasticTensor(), FFTW_MultiLevelsDFT::getFFTsNumber(), MATH_MultiLevelsToeplitzMatrix::getIndex(), MATH_MultiLevelsToeplitzMatrix::getLeafBlockValues(), FFTW_MultiLevelsDFT::getLevelsNumber(), MATH_MultiLevelsToeplitzMatrix::getLevelsNumber(), EMM_Matter::getMagneticTensor(), EMM_MatterField::getMatterParameterDistribution(), MATH_MaskArrayVector::getSize(), EMM_MatterField::getSize(), MATH_ArrayVector::getSize(), EMMG_RealField::getSize(), MATH_MultiLevelsToeplitzMatrix::getToeplitzBlockIndex(), CORE_Array2D< T >::getValuesNumber(), EMMH_HysteresisTest::hysteresisCycleTest(), EMMH_HysteresisTest::hysteresisDefaultCycleTest(), EMMG_RealField::initField(), CORE_ArrayList< tString >::insert(), CORE_ArrayList< tString >::insertAtIndex(), EMM_MatterField::isUniform(), EMM_AnisotropyDirectionsField::loadFromMattersField(), EMM_Array< tCellFlag >::loadFromStream(), EMMG_SLDemagnetizedOperator::localAssembly(), EMMG_RealField::mean(), CORE_MorseArray< tUChar >::MergeMorseArray(), CORE_MorseArray< tUChar >::MergeMorseArrays(), CORE_Array< tCellFlag >::multiply(), EMMG_RealField::multiplyBy(), EMMG_ClassFactory::NewInstance(), EMMG_RealField::norm(), CORE_ArrayList< tString >::push_back(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::recoverCanonicalSpace(), CORE_ArrayList< tString >::remove(), CORE_ArrayList< tString >::removeAtIndex(), CORE_ArrayList< tString >::reverse(), EMMH_Hysteresis::run(), FFTW_MultiLevelsDFT::runFFT(), EMMH_HysteresisFile::save(), EMM_Array< tCellFlag >::saveToFile(), EMM_MatterField::saveToFile(), EMM_Array< tCellFlag >::saveToStream(), EMM_Matter::saveToStream(), EMMG_RealField::saveToVTKStream(), EMM_Output::saveVTI(), EMM_LandauLifschitzFunction::setBetaParameter(), EMM_Matter::setElasticTensor(), FFTW_MultiLevelsDFT::setFFT(), FFTW_MultiLevelsDFT::setFFTsNumber(), FFTW_MultiLevelsDFT::setLevels(), EMM_Matter::setMagneticTensor(), FFTW_MultiLevelsDFT::setPlan(), CORE_Array2D< T >::setRowValue(), FFTW_MultiDFTs::setSize(), FFTW_MultiLevelsDFT::setSize(), CORE_Array< tCellFlag >::sub(), CORE_Array< tCellFlag >::swap(), EMM_CanonicalMassMatrix::symmetricDot(), EMM_BlockMassMatrix::symmetricDot(), EMM_CondensedMassMatrix::symmetricDot(), EMM_MorseArrayTest::test(), EMM_FieldTest::testRealArray(), MATH_ArrayVector::toString(), MATH_MaskArrayVector::toString(), EMM_MatterField::toString(), EMM_Matter::toString(), CORE_Array< tCellFlag >::transfertValuesByReference(), MATH_MultiLevelsToeplitzMatrix::vectorProduct(), EMM_WaveFDMTest::waveSystemP1Propagation(), EMM_WaveFDMTest::waveSystemP2Propagation(), EMM_WaveFDMTest::waveTE2Propagation(), and EMM_WaveFEMTest::waveTE2Propagation().
|
inlineinherited |
return the size of the array for writing
|
inlineprivate |
return the shared pointer this
|
inlineprivate |
return the shared pointer const this
|
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
Referenced by EMMG_RealField::getTypeToString().
|
inlineinherited |
get the values of the array for writing
i | index of the value |
Referenced by EMM_Matter::getAdimensionizedElasticTensor(), EMM_Matter::getAdimensionizedMagneticTensor(), EMM_Matter::getElasticTensor(), EMM_Matter::getMagneticTensor(), and EMM_RelaxationTest::testNewM().
|
inlineinherited |
get the values of the array for reading
i | index of the value |
|
inlineinherited |
get the values of the array for reading
Referenced by CORE_ArrayList< tString >::append(), CORE_ArrayList< tString >::exists(), and CORE_Array< tCellFlag >::transfertValuesByReference().
|
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 |
init the array to uniform value
f | : uniform value |
Referenced by CORE_Array< tCellFlag >::add(), EMM_WaveTest::barWave(), CORE_Array< tCellFlag >::initArray(), EMM_MatterField::initIndices(), EMMG_RealField::multiplyBy(), CORE_StringArrayList::operator=(), CORE_ArrayList< tString >::operator=(), CORE_Array< tCellFlag >::operator=(), CORE_MorseArray< tUChar >::reset(), CORE_Array< tCellFlag >::set(), EMM_Matter::setElasticTensor(), EMM_Matter::setMagneticTensor(), EMM_WaveTest::sharkWave(), EMM_WaveTest::sinusoidalWave(), EMM_MorseArrayTest::test(), EMM_RelaxationTest::testNewM(), EMM_WaveTest::trianglePeriodicalWave(), and EMM_WaveTest::triangleWave().
|
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,..) |
tUIndex CORE_ArrayList< T >::insert | ( | const T & | v | ) |
insert the element in the array with respect to the order of the list
v | value to insert |
Referenced by CORE_ArrayList< tString >::clear().
void CORE_ArrayList< T >::insertAtIndex | ( | const tUIndex & | i, |
const T & | v | ||
) |
insert the object at index i
i | index of insertion |
v | value to insert re-allocate the array if capacity too small At the end (*this)[i]=v; |
Referenced by CORE_Array2D< T >::add(), and CORE_ArrayList< tString >::clear().
|
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().
|
inlineinherited |
get the absolute mximum value of this
Referenced by CORE_Array< tCellFlag >::distanceMax().
|
inlineinherited |
This[i]*=Y[i].
Y | array value |
|
inlinestatic |
return a CORE_Array shared pointer
|
inlinestatic |
return a CORE_Array shared pointer
|
inlineinherited |
get the norm
|
inlineinherited |
get the squared norm
Referenced by CORE_Array< tCellFlag >::distance2(), and CORE_Array< tCellFlag >::norm().
|
inlineinherited |
This*=f.
f | the multiplicator value |
Referenced by EMM_Array< tCellFlag >::operator*=().
|
inlineinherited |
This+=f.
f | the add value |
Referenced by EMM_Array< tCellFlag >::operator+=().
|
inlineinherited |
This-=f.
f | the sub value |
Referenced by EMM_Array< tCellFlag >::operator-=().
|
inlineinherited |
This/=f.
f | the division value |
Referenced by EMM_Array< tCellFlag >::operator/=().
|
inline |
operator =
f | : the array list to copy |
|
inline |
operator =
f | : the uniform value to copy |
|
inlineinherited |
get the i-th element Assert in (i>-1) Assert in (i<size());
Referenced by CORE_Array3D< T >::operator()(), CORE_Array2D< T >::operator()(), CORE_Array3D< T >::operator[](), and CORE_Array2D< T >::operator[]().
|
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().
tBoolean CORE_ArrayList< T >::remove | ( | const T & | v | ) |
remove all the element with the value
void CORE_ArrayList< T >::removeAtIndex | ( | const tUIndex & | i | ) |
remove the element at index
i | index of the element to remeve |
Referenced by CORE_ArrayList< tString >::clear().
|
inlineinherited |
reserve the capacity
cap | the new capacity |
Referenced by CORE_ArrayList< tString >::append(), CORE_ArrayList< tString >::insertAtIndex(), CORE_ArrayList< tString >::push_back(), and CORE_Array2D< T >::reserve().
|
inlinestaticinherited |
|
inlinestaticinherited |
return the reverse order
oder | the order to reverse |
References CORE_List::GE, CORE_List::GT, CORE_List::LE, and CORE_List::LT.
Referenced by CORE_List::compareString(), and CORE_ArrayList< tString >::reverse().
void CORE_ArrayList< T >::reverse | ( | ) |
reverse the array
Referenced by CORE_ArrayList< tString >::exists().
|
static |
search the value in values array ordered in order
values | the values |
n | the size of values |
order | the type of order of the values |
value | : the value to search |
index | the return index of the value |
Referenced by CORE_ArrayList< tString >::search(), and CORE_ArrayList< tString >::sort().
|
inline |
search the value in values vector ordered in order
value | the value to search |
index | the return index of the value if found |
|
inlineinherited |
set the value of the array at index i
i | index of the array |
v | the value |
Referenced by CORE_Map< Key, Value >::getValues().
|
inlineinherited |
This+=alpha.Y.
alpha | real value |
Y | array value |
|
inline |
set the capacity factor
n: is the multiplky capacity factor
Referenced by CORE_ArrayList< tString >::copy(), and CORE_Test::testArray2D().
|
inlinestaticinherited |
set if the memory checking is used
v | : true to check memory |
Referenced by main().
|
inline |
set the oder
Referenced by CORE_ArrayList< tString >::copy(), and CORE_ArrayList< tString >::sort().
|
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 CORE_Array2D< T >::addRow(), EMM_WaveTest::barWave(), MATH_ElementaryMultiLevelsToeplitzMatrix::buildColumnLeadingDimensions(), MATH_GlobalMultiLevelsPolynomialToeplitzMatrix::buildColumnLeadingDimensions(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::buildLeadingDimensions(), MATH_ElementaryMultiLevelsToeplitzMatrix::buildRowLeadingDimensions(), MATH_GlobalMultiLevelsPolynomialToeplitzMatrix::buildRowLeadingDimensions(), EMMG_RealField::cellDataToPointData(), EMM_MatterField::clear(), FFTW_MultiLevelsDFT::clear(), MATH_ElementaryMultiLevelsPolynomialToeplitzMatrix::computeSpectralSpaceSizePerDimension(), MATH_ElementaryMultiLevelsCircularTensorToeplitzMatrix::computeSpectralSpaceSizePerDimension(), MATH_ElementaryMultiLevelsCircularToeplitzMatrix::computeSpectralSpaceSizePerDimension(), EMM_WaveFDMTest::computeWaveAtFirstTime(), EMM_WaveFEMTest::computeWaveAtFirstTime(), EMM_WaveFDMTest::computeWaveAtPreviousTime(), CORE_Array< tCellFlag >::CORE_Array(), EMMG_SLDemagnetizedOperator::discretize(), EMMG_RealField::dotArray(), EMM_TensorsTest::doubleDotCrossDoubleDotScalarTests(), EMM_TensorsTest::doubleDotCrossProductTests(), EMM_TensorsTest::doubleDotCrossSquaredScalarTests(), EMM_TensorsTest::doubleDotProductTests(), MATH_ToeplitzTest::emicrom411ncTest(), MATH_ToeplitzTest::emicrom411Test(), MATH_ToeplitzTest::emicrom441Test(), MATH_ToeplitzTest::emicrom444Test(), MATH_ToeplitzTest::emicromTest(), EMM_LandauLifschitzFunction::EMM_LandauLifschitzFunction(), EMM_Matter::EMM_Matter(), EMM_MatterField::EMM_MatterField(), EMMH_Hysteresis::EMMH_Hysteresis(), FFTW_MultiLevelsDFT::FFTW_MultiLevelsDFT(), CORE_MorseArray< tUChar >::fitToSize(), EMM_MatterField::getMatterParameterDistribution(), FFTW_MultiDFTs::getSize(), CORE_Map< Key, Value >::getValues(), EMMH_HysteresisTest::hysteresisCycleTest(), EMMH_HysteresisFile::load(), EMM_DisplacementWaveTest::loadData(), EMM_Input::loadFieldFromAIMFile(), EMM_MatterField::loadFromANIFile(), EMM_Array< tCellFlag >::loadFromFile(), EMM_MatterField::loadFromLOCFile(), MATH_Integration::MATH_Integration(), CORE_MorseArray< tUChar >::MergeMorseArray(), CORE_MorseArray< tUChar >::MergeMorseArrays(), EMM_DemagnetizedPeriodicalTest::multiSDGridScaleTest(), EMMG_RealField::norm(), EMMG_RealField::pointDataToCellData(), CORE_ArrayList< tString >::push_back(), EMMH_Hysteresis::run(), CORE_Array< tCellFlag >::set(), EMM_LandauLifschitzFunction::setBetaParameter(), MATH_Integration::setBounds(), MATH_ArrayVector::setCapacity(), MATH_MaskArrayVector::setCapacity(), EMMH_Hysteresis::setFinalExternalMagneticExcitationField(), EMMH_Hysteresis::setInitialExternalMagneticExcitationField(), FFTW_MultiLevelsDFT::setLevels(), MATH_MultiLevelsToeplitzMatrix::setLevels(), CORE_Array2D< T >::setRowSize(), MATH_FullMatrix::setSize(), CORE_Array3D< T >::setSize(), EMMG_RealField::setSize(), MATH_ArrayVector::setSize(), CORE_Array2D< T >::setSize(), MATH_MaskArrayVector::setSize(), EMM_MatterField::setSize(), CORE_MorseArray< tUChar >::setSize(), CORE_MorseArray< tUChar >::setUniformSize(), CORE_Array< tCellFlag >::setValues(), EMM_WaveTest::sharkWave(), EMM_WaveTest::sinusoidalWave(), EMM_TensorsTest::squaredDoubleDotCrossScalarTests(), EMM_MorseArrayTest::test(), CORE_Test::testArray(), MATSGN_Test::testFFT02(), MATSGN_Test::testFFT03(), EMM_RelaxationTest::testNewM(), EMM_FieldTest::testRealArray(), MATH_ToeplitzTest::toeplitzTest(), EMM_BlockMassMatrix::toString(), EMM_WaveTest::trianglePeriodicalWave(), EMM_WaveTest::triangleWave(), EMM_Grid3D::updateLimitConditionOnPoints(), and MATH_MultiLevelsToeplitzMatrix::vectorProduct().
|
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 |
Referenced by EMM_TensorsTest::doubleDotCrossDoubleDotScalarTests(), EMM_Matter::setElasticTensor(), EMM_Matter::setMagneticTensor(), and EMM_TensorsTest::squaredDoubleDotCrossScalarTests().
|
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 |
Referenced by EMM_OperatorsTest::compareDiscretizedData(), CORE_Array3D< T >::copy(), CORE_Array2D< T >::copy(), CORE_Array< tCellFlag >::initArray(), EMM_DemagnetizedPeriodicalTest::multiSDGridScaleTest(), CORE_VectorReader::readVector(), MATH_FullMatrix::setValues(), MATH_ArrayVector::setValues(), CORE_Array2D< T >::setValues(), and EMM_MorseArrayTest::test().
|
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.
Referenced by EMMG_SLSDXPeriodicMultiScale::computeMultiGridExcitationField(), EMMG_RealField::setFieldByReference(), MATH_ArrayVector::setValuesByReference(), MATH_MaskArrayVector::setValuesByReference(), CORE_Array2D< T >::setValuesByReference(), and CORE_Test::testArray().
|
inline |
sort the array in an increasing order obj[i-1] is obj[i] with respect to order
order | order for sorting |
|
inline |
sort the array in an increasing order obj[i-1] is obj[i] with respect to getOrder
Referenced by CORE_ArrayList< tString >::sort().
|
static |
sort the array pointer
Sort the objects
|
inlineinherited |
This-=alpha.Y.
alpha | real value |
Y | array value |
|
inlineinherited |
This-=Y.
Y | array value |
|
inlineinherited |
get the sum of all the element
Referenced by EMMG_RealField::dot().
|
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.
Reimplemented in CORE_Array2D< T >, and CORE_Array3D< T >.
Referenced by CORE_Array< tCellFlag >::getSize(), EMMH_HysteresisTest::hysteresisCycleTest(), MATH_ArrayVector::toString(), and MATH_MaskArrayVector::toString().
|
inlineinherited |
transfert the values of the array into this
array:array | to transfert the values |
Referenced by EMMG_RealField::cellDataToPointData(), and EMMG_RealField::pointDataToCellData().
|
staticinherited |
Referenced by CORE_ArrayList< tString >::search(), and CORE_Vector< T >::search().
|
staticinherited |
Referenced by CORE_List::reverse().
|
staticinherited |
Referenced by CORE_List::reverse(), and CORE_Test::testString().
|
staticinherited |
Referenced by CORE_List::reverse().
|
staticinherited |
|
private |
Referenced by CORE_ArrayList< tString >::getCapacityFactor().
|
private |
Referenced by CORE_ArrayList< tString >::getOrder().
|
staticinherited |
|
staticinherited |
Referenced by CORE_ArrayList< tString >::CORE_ArrayList(), and CORE_ArrayList< tString >::sort().