C++ main module for emicrom Package
1.0
|
this class describes an array of string viewed as a list More...
#include <CORE_StringArrayList.h>
Public Member Functions | |
CORE_StringArrayList () | |
build a string array of T* More... | |
CORE_StringArrayList (const CORE_StringArrayList &c) | |
build a string array by a copy of c More... | |
virtual | ~CORE_StringArrayList () |
destroy an array of T* More... | |
CORE_StringArrayList & | operator= (const CORE_StringArrayList &f) |
operator = More... | |
CORE_StringArrayList & | operator= (const tString &f) |
operator = More... | |
virtual void | sort () |
sort the array in an increasing order (LE) More... | |
virtual void | sort (const tFlag &order) |
sort the array with repect to the order More... | |
void | getSharedPointer (boost::shared_ptr< CORE_ArrayList< tString > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const CORE_ArrayList< tString > > &p) const |
return the shared pointer corresponding to the class whith casting More... | |
void | getSharedPointer (boost::shared_ptr< CORE_Array< tString > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const CORE_Array< tString > > &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 | copy (const CORE_Array< Q > &f) |
copy the array list f More... | |
void | copy (const CORE_Array< Q > *f) |
copy the array of the pointer 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... | |
void | push_back (const Q &v) |
void | insertAtIndex (const tUIndex &i, const tString &v) |
insert the object at index i More... | |
tUIndex | insert (const tString &v) |
insert the element in the array with respect to the order of the list More... | |
tBoolean | remove (const tString &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 tString &obj) const |
return rtur if the value obj exists More... | |
void | reverse () |
reverse the array More... | |
void | append (const CORE_ArrayList< tString > &array) |
add the arry list at the end More... | |
tBoolean | search (const tString &value, tUIndex &index) |
search the value in values vector ordered in order 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 tString & | operator[] (const tUIndex &i) const |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
tString & | operator[] (const tUIndex &i) |
get the i-th element Assert in (i>-1) Assert in (i<size()); More... | |
CORE_Array< tString > & | operator+= (const Q &f) |
This+=f. More... | |
CORE_Array< tString > & | operator-= (const Q &f) |
This-=f. More... | |
CORE_Array< tString > & | operator*= (const Q &f) |
This*=f. More... | |
CORE_Array< tString > & | operator/= (const Q &f) |
This/=f. More... | |
void | setSize (const tUIndex &n) |
set the size 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 tString &v) |
set the value of the array at index i More... | |
void | set (const tUIndex &i, const tString &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... | |
tString & | get (const tUIndex &i) |
get the value of the array at index i More... | |
const tString & | 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 tString & | getLastElement () const |
get last element for reading More... | |
tString & | getLastElement () |
get last element for writing More... | |
const tString * | getValues () const |
get the values of the array for reading More... | |
tString * | getValues () |
get the values of the array for writing More... | |
const tString * | getValues (tUIndex &n) const |
get the values of the array for reading More... | |
tString * | getValues (tUIndex &n) |
get the values of the array for writing More... | |
tString & | getValue (const tUIndex &i) |
get the values of the array for writing More... | |
const tString & | getValue (const tUIndex &i) const |
get the values of the array for reading More... | |
void | swap (CORE_Array< tString > &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::CORE_StringArrayList | New () |
return a CORE_Array shared pointer More... | |
static boost::shared_ptr< CORE_ArrayList< tString > > | New (const tUIndex &n) |
return a CORE_Array shared pointer More... | |
static tFlag | reverse (const tFlag &oder) |
return the reverse order More... | |
static void | sort (tString *items, const tUIndex &N, const tFlag &order) |
sort the array pointer More... | |
static tBoolean | search (const tString *values, const tUIndex &n, const tFlag &order, const tString &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 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 | |
SP_OBJECT (CORE_StringArrayList) | |
this class describes an array of string viewed as a list
|
inline |
|
inline |
build a string array by a copy of c
c | array to copy |
|
inlinevirtual |
destroy an array of T*
|
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 |
|
inherited |
add the arry list at the end
References CORE_Array< T >::getCapacity(), CORE_Array< T >::getSize(), CORE_Array< T >::getValues(), CORE_Array< T >::reserve(), tFlag, and tUIndex.
|
inlinevirtualinherited |
clear the array
Implements CORE_List.
References CORE_Array< T >::clear(), CORE_ArrayList< T >::contractToLastElements(), CORE_ArrayList< T >::insert(), CORE_ArrayList< T >::insertAtIndex(), CORE_ArrayList< T >::push_back(), CORE_ArrayList< T >::removeAtIndex(), tBoolean, and tUIndex.
|
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
|
inherited |
keep only the last n elements of the array and set its capacity also to n
n | the number of element to kepp |
References CORE_Array< T >::clear(), CORE_Array< T >::fitToSize(), CORE_Array< T >::getSize(), and tUIndex.
|
inlineinherited |
copy the array list f
f | : the array list to copy |
References CORE_Array< T >::copy(), CORE_ArrayList< T >::getCapacityFactor(), CORE_ArrayList< T >::getOrder(), null, CORE_ArrayList< T >::setCapacityFactor(), and CORE_ArrayList< T >::setOrder().
|
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>
|
inlineinherited |
return rtur if the value obj exists
obj | the value to search |
References CORE_ArrayList< T >::append(), CORE_Array< T >::getSize(), CORE_Array< T >::getValues(), CORE_ArrayList< T >::reverse(), and tUIndex.
|
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
|
inlineinherited |
get the capacity factor
References CORE_ArrayList< T >::mCapacityFactor.
|
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().
|
inlineinherited |
get the oder
References CORE_ArrayList< T >::mOrder.
|
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
p | a return shared pointer to this |
References CORE_Object::getSharedPointer().
|
inlineinherited |
return the shared pointer corresponding to the class whith casting
p | a return shared pointer to this |
References CORE_Object::getSharedPointer().
|
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 |
init the array to uniform value
f | : uniform value |
|
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,..) |
|
inherited |
insert the element in the array with respect to the order of the list
v | value to insert |
References CORE_List::compare(), CORE_Array< T >::getSize(), and tUIndex.
|
inherited |
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; |
References CORE_Array< T >::getCapacity(), CORE_Array< T >::getSize(), CORE_Array< T >::reserve(), tFlag, and tUIndex.
|
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
|
inlineinherited |
This[i]*=Y[i].
Y | array value |
|
inlinestatic |
return a CORE_Array shared pointer
References CORE_StringArrayList().
|
inlinestaticinherited |
return a CORE_Array shared pointer
|
inlineinherited |
get the norm
|
inlineinherited |
get the squared norm
|
inlineinherited |
This*=f.
f | the multiplicator value |
|
inlineinherited |
This+=f.
f | the add value |
|
inlineinherited |
This-=f.
f | the sub value |
|
inlineinherited |
This/=f.
f | the division value |
|
inline |
|
inline |
|
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().
|
inherited |
|
inherited |
remove all the element with the value
References CORE_Array< T >::getSize(), and tUIndex.
|
inherited |
remove the element at index
i | index of the element to remeve |
References CORE_Array< T >::getSize(), and tUIndex.
|
inlineinherited |
reserve the capacity
cap | the new capacity |
|
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().
|
inherited |
reverse the array
References CORE_Array< T >::getSize(), CORE_List::reverse(), and tUIndex.
|
staticinherited |
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 |
References CORE_List::EQ, and tIndex.
|
inlineinherited |
search the value in values vector ordered in order
value | the value to search |
index | the return index of the value if found |
References CORE_ArrayList< T >::getOrder(), and CORE_ArrayList< T >::search().
|
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 |
|
inlineinherited |
set the capacity factor
n: is the multiplky capacity factor
|
inlinestaticinherited |
set if the memory checking is used
v | : true to check memory |
Referenced by main().
|
inlineinherited |
set the oder
|
inlinestaticinherited |
|
inlineinherited |
set the size
n | size of the array allocate the array of the capacity of the array is not big enough |
|
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.
|
inlinevirtual |
sort the array in an increasing order (LE)
References CORE_List::LT, and tFlag.
|
virtual |
|
staticinherited |
|
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 |
|
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 |
|
staticinherited |
|
staticinherited |
Referenced by CORE_ArrayList< tString >::CORE_ArrayList(), and CORE_ArrayList< tString >::sort().