Version: 5.1.6

ParaMEDMEM.DataArrayDouble Class Reference

#include <MEDCouplingMemArray.hxx>

Inheritance diagram for ParaMEDMEM.DataArrayDouble:
Inheritance graph

Public Member Functions

bool isAllocated () const
void checkAllocated () const throw (INTERP_KERNEL::Exception)
DataArrayDoubledeepCpy () const
DataArrayDoubleperformCpy (bool deepCpy) const
void cpyFrom (const DataArrayDouble &other) throw (INTERP_KERNEL::Exception)
void alloc (int nbOfTuple, int nbOfCompo)
void allocIfNecessary (int nbOfTuple, int nbOfCompo)
void fillWithZero () throw (INTERP_KERNEL::Exception)
void fillWithValue (double val) throw (INTERP_KERNEL::Exception)
void iota (double init=0.) throw (INTERP_KERNEL::Exception)
bool isUniform (double val, double eps) const
void sort () throw (INTERP_KERNEL::Exception)
void checkMonotonic (double eps) const throw (INTERP_KERNEL::Exception)
bool isMonotonic (double eps) const throw (INTERP_KERNEL::Exception)
std::string repr () const
std::string reprZip () const
void reprStream (std::ostream &stream) const
void reprZipStream (std::ostream &stream) const
void reprWithoutNameStream (std::ostream &stream) const
void reprZipWithoutNameStream (std::ostream &stream) const
bool isEqual (const DataArrayDouble &other, double prec) const
bool isEqualWithoutConsideringStr (const DataArrayDouble &other, double prec) const
void reAlloc (int nbOfTuples) throw (INTERP_KERNEL::Exception)
 alloc or useArray should have been called before.
DataArrayIntconvertToIntArr () const
DataArrayDoublefromNoInterlace () const throw (INTERP_KERNEL::Exception)
DataArrayDoubletoNoInterlace () const throw (INTERP_KERNEL::Exception)
void renumberInPlace (const int *old2New)
void renumberInPlaceR (const int *new2Old)
DataArrayDoublerenumber (const int *old2New) const
DataArrayDoublerenumberR (const int *new2Old) const
DataArrayDoublerenumberAndReduce (const int *old2New, int newNbOfTuple) const
DataArrayDoubleselectByTupleId (const int *new2OldBg, const int *new2OldEnd) const
DataArrayDoubleselectByTupleIdSafe (const int *new2OldBg, const int *new2OldEnd) const throw (INTERP_KERNEL::Exception)
DataArrayDoubleselectByTupleId2 (int bg, int end, int step) const throw (INTERP_KERNEL::Exception)
DataArrayDoublesubstr (int tupleIdBg, int tupleIdEnd=-1) const throw (INTERP_KERNEL::Exception)
void rearrange (int newNbOfCompo) throw (INTERP_KERNEL::Exception)
DataArrayDoublechangeNbOfComponents (int newNbOfComp, double dftValue) const throw (INTERP_KERNEL::Exception)
DataArrayDoublekeepSelectedComponents (const std::vector< int > &compoIds) const throw (INTERP_KERNEL::Exception)
void meldWith (const DataArrayDouble *other) throw (INTERP_KERNEL::Exception)
void setSelectedComponents (const DataArrayDouble *a, const std::vector< int > &compoIds) throw (INTERP_KERNEL::Exception)
void setPartOfValues1 (const DataArrayDouble *a, int bgTuples, int endTuples, int stepTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true) throw (INTERP_KERNEL::Exception)
void setPartOfValuesSimple1 (double a, int bgTuples, int endTuples, int stepTuples, int bgComp, int endComp, int stepComp) throw (INTERP_KERNEL::Exception)
void setPartOfValues2 (const DataArrayDouble *a, const int *bgTuples, const int *endTuples, const int *bgComp, const int *endComp, bool strictCompoCompare=true) throw (INTERP_KERNEL::Exception)
void setPartOfValuesSimple2 (double a, const int *bgTuples, const int *endTuples, const int *bgComp, const int *endComp) throw (INTERP_KERNEL::Exception)
void setPartOfValues3 (const DataArrayDouble *a, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true) throw (INTERP_KERNEL::Exception)
void setPartOfValuesSimple3 (double a, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp) throw (INTERP_KERNEL::Exception)
void getTuple (int tupleId, double *res) const
double getIJ (int tupleId, int compoId) const
void setIJ (int tupleId, int compoId, double newVal)
void setIJSilent (int tupleId, int compoId, double newVal)
doublegetPointer ()
const doublegetConstPointer () const
void useArray (const double *array, bool ownership, DeallocType type, int nbOfTuple, int nbOfCompo)
void writeOnPlace (int id, double element0, const double *others, int sizeOfOthers)
void checkNoNullValues () const throw (INTERP_KERNEL::Exception)
double getMaxValue (int &tupleId) const throw (INTERP_KERNEL::Exception)
double getMinValue (int &tupleId) const throw (INTERP_KERNEL::Exception)
double getMaxValue2 (DataArrayInt *&tupleIds) const throw (INTERP_KERNEL::Exception)
double getMinValue2 (DataArrayInt *&tupleIds) const throw (INTERP_KERNEL::Exception)
double getAverageValue () const throw (INTERP_KERNEL::Exception)
void accumulate (double *res) const throw (INTERP_KERNEL::Exception)
double accumulate (int compId) const throw (INTERP_KERNEL::Exception)
DataArrayDoublefromPolarToCart () const throw (INTERP_KERNEL::Exception)
DataArrayDoublefromCylToCart () const throw (INTERP_KERNEL::Exception)
DataArrayDoublefromSpherToCart () const throw (INTERP_KERNEL::Exception)
DataArrayDoubledoublyContractedProduct () const throw (INTERP_KERNEL::Exception)
DataArrayDoubledeterminant () const throw (INTERP_KERNEL::Exception)
DataArrayDoubleeigenValues () const throw (INTERP_KERNEL::Exception)
DataArrayDoubleeigenVectors () const throw (INTERP_KERNEL::Exception)
DataArrayDoubleinverse () const throw (INTERP_KERNEL::Exception)
DataArrayDoubletrace () const throw (INTERP_KERNEL::Exception)
DataArrayDoubledeviator () const throw (INTERP_KERNEL::Exception)
DataArrayDoublemagnitude () const throw (INTERP_KERNEL::Exception)
DataArrayDoublemaxPerTuple () const throw (INTERP_KERNEL::Exception)
void sortPerTuple (bool asc) throw (INTERP_KERNEL::Exception)
void applyLin (double a, double b, int compoId) throw (INTERP_KERNEL::Exception)
void applyLin (double a, double b) throw (INTERP_KERNEL::Exception)
void applyInv (double numerator) throw (INTERP_KERNEL::Exception)
DataArrayDoubleapplyFunc (int nbOfComp, FunctionToEvaluate func) const throw (INTERP_KERNEL::Exception)
DataArrayDoubleapplyFunc (int nbOfComp, const char *func) const throw (INTERP_KERNEL::Exception)
DataArrayDoubleapplyFunc (const char *func) const throw (INTERP_KERNEL::Exception)
DataArrayDoubleapplyFunc2 (int nbOfComp, const char *func) const throw (INTERP_KERNEL::Exception)
DataArrayDoubleapplyFunc3 (int nbOfComp, const std::vector< std::string > &varsOrder, const char *func) const throw (INTERP_KERNEL::Exception)
void applyFuncFast32 (const char *func) throw (INTERP_KERNEL::Exception)
void applyFuncFast64 (const char *func) throw (INTERP_KERNEL::Exception)
DataArrayIntgetIdsInRange (double vmin, double vmax) const throw (INTERP_KERNEL::Exception)
void addEqual (const DataArrayDouble *other) throw (INTERP_KERNEL::Exception)
void substractEqual (const DataArrayDouble *other) throw (INTERP_KERNEL::Exception)
void multiplyEqual (const DataArrayDouble *other) throw (INTERP_KERNEL::Exception)
void divideEqual (const DataArrayDouble *other) throw (INTERP_KERNEL::Exception)
void updateTime () const
 nothing to do here because this class does not aggregate any TimeLabel instance.
void getTinySerializationIntInformation (std::vector< int > &tinyInfo) const
void getTinySerializationStrInformation (std::vector< std::string > &tinyInfo) const
bool resizeForUnserialization (const std::vector< int > &tinyInfoI)
void finishUnserialization (const std::vector< int > &tinyInfoI, const std::vector< std::string > &tinyInfoS)
 DataArrayDouble ()

Static Public Member Functions

static DataArrayDoubleNew ()
static void SetArrayIn (DataArrayDouble *newArray, DataArrayDouble *&arrayToSet)
static DataArrayDoubleAggregate (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleAggregate (const std::vector< const DataArrayDouble * > &a) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleMeld (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleMeld (const std::vector< const DataArrayDouble * > &a) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleDot (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleCrossProduct (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleMax (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleMin (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleAdd (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleSubstract (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleMultiply (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)
static DataArrayDoubleDivide (const DataArrayDouble *a1, const DataArrayDouble *a2) throw (INTERP_KERNEL::Exception)

Data Fields

MemArray< double_mem

Constructor & Destructor Documentation

ParaMEDMEM.DataArrayDouble.DataArrayDouble (  ) 

Member Function Documentation

DataArrayDouble * DataArrayDouble::New (  )  [static]
bool DataArrayDouble::isAllocated (  )  const
void DataArrayDouble::checkAllocated (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::deepCpy (  )  const
DataArrayDouble * DataArrayDouble::performCpy ( bool  deepCpy  )  const
void DataArrayDouble::cpyFrom ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::alloc ( int  nbOfTuple,
int  nbOfCompo 
)
void DataArrayDouble::allocIfNecessary ( int  nbOfTuple,
int  nbOfCompo 
)
void DataArrayDouble::fillWithZero (  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::fillWithValue ( double  val  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::iota ( double  init = 0.  )  throw (INTERP_KERNEL::Exception)

References init.

bool DataArrayDouble::isUniform ( double  val,
double  eps 
) const
void DataArrayDouble::sort (  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::checkMonotonic ( double  eps  )  const throw (INTERP_KERNEL::Exception)
bool DataArrayDouble::isMonotonic ( double  eps  )  const throw (INTERP_KERNEL::Exception)
std::string DataArrayDouble::repr (  )  const
std::string DataArrayDouble::reprZip (  )  const
void DataArrayDouble::reprStream ( std::ostream &  stream  )  const
void DataArrayDouble::reprZipStream ( std::ostream &  stream  )  const
void DataArrayDouble::reprWithoutNameStream ( std::ostream &  stream  )  const
void DataArrayDouble::reprZipWithoutNameStream ( std::ostream &  stream  )  const
bool DataArrayDouble::isEqual ( const DataArrayDouble other,
double  prec 
) const
bool DataArrayDouble::isEqualWithoutConsideringStr ( const DataArrayDouble other,
double  prec 
) const
void DataArrayDouble::reAlloc ( int  nbOfTuples  )  throw (INTERP_KERNEL::Exception)

alloc or useArray should have been called before.

DataArrayInt * DataArrayDouble::convertToIntArr (  )  const
DataArrayDouble * DataArrayDouble::fromNoInterlace (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::toNoInterlace (  )  const throw (INTERP_KERNEL::Exception)
void DataArrayDouble::renumberInPlace ( const int old2New  ) 

This method does not change the number of tuples after this call. Only a permutation is done. If a permutation reduction is needed substr, or selectByTupleId should be used.

References ParaMEDMEM.TimeLabel.declareAsNew(), ParaMEDMEM.DataArrayDouble.getConstPointer(), ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArray.getNumberOfTuples(), and ParaMEDMEM.DataArrayDouble.getPointer().

void DataArrayDouble::renumberInPlaceR ( const int new2Old  ) 
DataArrayDouble * DataArrayDouble::renumber ( const int old2New  )  const

This method does not change the number of tuples after this call. Only a permutation is done. If a permutation reduction is needed substr, or selectByTupleId should be used.

References ParaMEDMEM.DataArrayDouble.alloc(), ParaMEDMEM.DataArray.copyStringInfoFrom(), ParaMEDMEM.DataArrayDouble.getConstPointer(), ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArray.getNumberOfTuples(), ParaMEDMEM.DataArrayDouble.getPointer(), ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::renumberR ( const int new2Old  )  const
DataArrayDouble * DataArrayDouble::renumberAndReduce ( const int old2New,
int  newNbOfTuple 
) const

Idem DataArrayDouble.renumber method except that the number of tuples is reduced. That is to say that it is expected that newNbOfTuple<this->getNumberOfTuples(). ['old2New','old2New'+getNumberOfTuples()) defines a range containing old to new array. For every negative value in ['old2NewBg','old2New'+getNumberOfTuples()) the corresponding tuple is omitted.

References ParaMEDMEM.DataArrayDouble.alloc(), ParaMEDMEM.DataArray.copyStringInfoFrom(), ParaMEDMEM.DataArrayDouble.getConstPointer(), ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArray.getNumberOfTuples(), ParaMEDMEM.DataArrayDouble.getPointer(), ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::selectByTupleId ( const int new2OldBg,
const int new2OldEnd 
) const

This method is a generalization of DataArrayDouble.substr method because a not contigous range can be specified here. This method is equavalent to DataArrayDouble.renumberAndReduce except that convention in input is new2old and not old2new.

References ParaMEDMEM.DataArrayDouble.alloc(), ParaMEDMEM.DataArray.copyStringInfoFrom(), ParaMEDMEM.DataArrayDouble.getConstPointer(), ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArrayDouble.getPointer(), med_test2.nbComp, ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::selectByTupleIdSafe ( const int new2OldBg,
const int new2OldEnd 
) const throw (INTERP_KERNEL::Exception)

This method is equivalent to DataArrayDouble.selectByTupleId except that an analyze to the content of input range to check that it will not lead to memory corruption !

References med_test2.nbComp, ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::selectByTupleId2 ( int  bg,
int  end,
int  step 
) const throw (INTERP_KERNEL::Exception)

Idem than DataArrayInt.selectByTupleIdSafe except that the input array is not constructed explicitely. The convention is as python one. ['bg','end') with steps of 'step'. Returns a newly created array.

References med_test1.end, med_test2.nbComp, ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::substr ( int  tupleIdBg,
int  tupleIdEnd = -1 
) const throw (INTERP_KERNEL::Exception)

This methods has a similar behaviour than std.string.substr. This method returns a newly created DataArrayInt that is part of this with same number of components. The intervall is specified by [tupleIdBg,tupleIdEnd) except if tupleIdEnd ==-1 in this case the [tupleIdBg,this->end()) will be kept. This method check that interval is valid regarding this, if not an exception will be thrown.

References ParaMEDMEM.DataArrayDouble.alloc(), ParaMEDMEM.DataArray.copyStringInfoFrom(), ParaMEDMEM.DataArrayDouble.getPointer(), med_test2.nbComp, ParaMEDMEM.DataArrayDouble.New(), and testMEDMEM.ret.

void DataArrayDouble::rearrange ( int  newNbOfCompo  )  throw (INTERP_KERNEL::Exception)

Contrary to DataArrayDouble.changeNbOfComponents method this method is not const. The content This method do not change the content of data but changes the splitting of this data seen by the caller. This method makes the assumption that 'this' is already allocated. If not an exception will be thrown. This method checks that getNbOfElems()newNbOfCompo==0. If not an exception will be throw ! This method erases all components info set before call !

DataArrayDouble * DataArrayDouble::changeNbOfComponents ( int  newNbOfComp,
double  dftValue 
) const throw (INTERP_KERNEL::Exception)

This method builds a new instance of DataArrayDouble (to deal with) that is reduction or an extension of 'this'. if 'newNbOfComp' < this->getNumberOfComponents() a reduction is done and for each tuple 'newNbOfComp' first components are kept. If 'newNbOfComp' > this->getNumberOfComponents() an extension is done, and for each components i such that i > getNumberOfComponents() 'dftValue' parameter is taken.

References ParaMEDMEM.DataArrayDouble.alloc(), ParaMEDMEM.DataArrayDouble.getPointer(), ParaMEDMEM.DataArrayDouble.New(), testMEDMEM.ret, ParaMEDMEM.DataArray.setInfoOnComponent(), and ParaMEDMEM.DataArray.setName().

DataArrayDouble * DataArrayDouble::keepSelectedComponents ( const std::vector< int > &  compoIds  )  const throw (INTERP_KERNEL::Exception)
void DataArrayDouble::meldWith ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)

This method melds the components of 'this' with components of 'other'. After this call in case of success, 'this' will contain a number of components equal to the sum of 'this' before the call and the number of components of 'other'. This method expects that 'this' and 'other' have exactly the same number of tuples. If not an exception is thrown.

References ParaMEDMEM.CPP_DEALLOC.

void DataArrayDouble::setSelectedComponents ( const DataArrayDouble a,
const std::vector< int > &  compoIds 
) throw (INTERP_KERNEL::Exception)
void DataArrayDouble::setPartOfValues1 ( const DataArrayDouble a,
int  bgTuples,
int  endTuples,
int  stepTuples,
int  bgComp,
int  endComp,
int  stepComp,
bool  strictCompoCompare = true 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment. 'strictCompoCompare' specifies if DataArray 'a' should have exactly same number of components and tuples than 'this' (true) or not (false). By default set to true with maximal test.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckClosingParInRange(), ParaMEDMEM.DataArray.CheckValueInRange(), ParaMEDMEM.DataArray.GetNumberOfItemGivenBES(), medcorba_test.msg, and med_test2.nbComp.

void DataArrayDouble::setPartOfValuesSimple1 ( double  a,
int  bgTuples,
int  endTuples,
int  stepTuples,
int  bgComp,
int  endComp,
int  stepComp 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckClosingParInRange(), ParaMEDMEM.DataArray.CheckValueInRange(), ParaMEDMEM.DataArray.GetNumberOfItemGivenBES(), medcorba_test.msg, and med_test2.nbComp.

void DataArrayDouble::setPartOfValues2 ( const DataArrayDouble a,
const int bgTuples,
const int endTuples,
const int bgComp,
const int endComp,
bool  strictCompoCompare = true 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment. 'strictCompoCompare' specifies if DataArray 'a' should have exactly same number of components and tuples than 'this' (true) or not (false). By default set to true with maximal test.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckValueInRange(), medcorba_test.msg, and med_test2.nbComp.

void DataArrayDouble::setPartOfValuesSimple2 ( double  a,
const int bgTuples,
const int endTuples,
const int bgComp,
const int endComp 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckValueInRange(), and med_test2.nbComp.

void DataArrayDouble::setPartOfValues3 ( const DataArrayDouble a,
const int bgTuples,
const int endTuples,
int  bgComp,
int  endComp,
int  stepComp,
bool  strictCompoCompare = true 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment. 'strictCompoCompare' specifies if DataArray 'a' should have exactly same number of components and tuples than 'this' (true) or not (false). By default set to true with maximal test.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckClosingParInRange(), ParaMEDMEM.DataArray.CheckValueInRange(), ParaMEDMEM.DataArray.GetNumberOfItemGivenBES(), medcorba_test.msg, and med_test2.nbComp.

void DataArrayDouble::setPartOfValuesSimple3 ( double  a,
const int bgTuples,
const int endTuples,
int  bgComp,
int  endComp,
int  stepComp 
) throw (INTERP_KERNEL::Exception)

This method performs a partial assignment of 'this' using 'a' as input. Other input parameters specifies the subpart being considered by the assignment.

References testGaussLocalization.a, ParaMEDMEM.DataArray.CheckClosingParInRange(), ParaMEDMEM.DataArray.CheckValueInRange(), ParaMEDMEM.DataArray.GetNumberOfItemGivenBES(), medcorba_test.msg, and med_test2.nbComp.

void ParaMEDMEM.DataArrayDouble.getTuple ( int  tupleId,
double res 
) const
double ParaMEDMEM.DataArrayDouble.getIJ ( int  tupleId,
int  compoId 
) const
void ParaMEDMEM.DataArrayDouble.setIJ ( int  tupleId,
int  compoId,
double  newVal 
)
void ParaMEDMEM.DataArrayDouble.setIJSilent ( int  tupleId,
int  compoId,
double  newVal 
)
double* ParaMEDMEM.DataArrayDouble.getPointer (  ) 
void DataArrayDouble::SetArrayIn ( DataArrayDouble newArray,
DataArrayDouble *&  arrayToSet 
) [static]
const double* ParaMEDMEM.DataArrayDouble.getConstPointer (  )  const
void DataArrayDouble::useArray ( const double array,
bool  ownership,
DeallocType  type,
int  nbOfTuple,
int  nbOfCompo 
)
void ParaMEDMEM.DataArrayDouble.writeOnPlace ( int  id,
double  element0,
const double others,
int  sizeOfOthers 
)
void DataArrayDouble::checkNoNullValues (  )  const throw (INTERP_KERNEL::Exception)
double DataArrayDouble::getMaxValue ( int tupleId  )  const throw (INTERP_KERNEL::Exception)
double DataArrayDouble::getMinValue ( int tupleId  )  const throw (INTERP_KERNEL::Exception)
double DataArrayDouble::getMaxValue2 ( DataArrayInt *&  tupleIds  )  const throw (INTERP_KERNEL::Exception)

References testMEDMEM.ret.

double DataArrayDouble::getMinValue2 ( DataArrayInt *&  tupleIds  )  const throw (INTERP_KERNEL::Exception)

References testMEDMEM.ret.

double DataArrayDouble::getAverageValue (  )  const throw (INTERP_KERNEL::Exception)
void DataArrayDouble::accumulate ( double res  )  const throw (INTERP_KERNEL::Exception)

References MEDMEM.fill().

double DataArrayDouble::accumulate ( int  compId  )  const throw (INTERP_KERNEL::Exception)

References testMEDMEM.ret.

DataArrayDouble * DataArrayDouble::fromPolarToCart (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::fromCylToCart (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::fromSpherToCart (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::doublyContractedProduct (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::determinant (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::eigenValues (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::eigenVectors (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::inverse (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::trace (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::deviator (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::magnitude (  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::maxPerTuple (  )  const throw (INTERP_KERNEL::Exception)
void DataArrayDouble::sortPerTuple ( bool  asc  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::applyLin ( double  a,
double  b,
int  compoId 
) throw (INTERP_KERNEL::Exception)
void DataArrayDouble::applyLin ( double  a,
double  b 
) throw (INTERP_KERNEL::Exception)
void DataArrayDouble::applyInv ( double  numerator  )  throw (INTERP_KERNEL::Exception)

This method applies the operation 'numerator/x' for each element 'x' in 'this'. If there is a value in 'this' exactly equal to 0. an exception is thrown. Warning if presence of null this is modified for each values previous than place where exception was thrown !

DataArrayDouble * DataArrayDouble::applyFunc ( int  nbOfComp,
FunctionToEvaluate  func 
) const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::applyFunc ( int  nbOfComp,
const char *  func 
) const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::applyFunc ( const char *  func  )  const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::applyFunc2 ( int  nbOfComp,
const char *  func 
) const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::applyFunc3 ( int  nbOfComp,
const std::vector< std::string > &  varsOrder,
const char *  func 
) const throw (INTERP_KERNEL::Exception)
void DataArrayDouble::applyFuncFast32 ( const char *  func  )  throw (INTERP_KERNEL::Exception)
void DataArrayDouble::applyFuncFast64 ( const char *  func  )  throw (INTERP_KERNEL::Exception)
DataArrayInt * DataArrayDouble::getIdsInRange ( double  vmin,
double  vmax 
) const throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::Aggregate ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Aggregate ( const std::vector< const DataArrayDouble * > &  a  )  throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Meld ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Meld ( const std::vector< const DataArrayDouble * > &  a  )  throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Dot ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::CrossProduct ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Max ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Min ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
DataArrayDouble * DataArrayDouble::Add ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
void DataArrayDouble::addEqual ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::Substract ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
void DataArrayDouble::substractEqual ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::Multiply ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
void DataArrayDouble::multiplyEqual ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)
DataArrayDouble * DataArrayDouble::Divide ( const DataArrayDouble a1,
const DataArrayDouble a2 
) throw (INTERP_KERNEL::Exception) [static]
void DataArrayDouble::divideEqual ( const DataArrayDouble other  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.DataArrayDouble.updateTime (  )  const [virtual]

nothing to do here because this class does not aggregate any TimeLabel instance.

Implements ParaMEDMEM.TimeLabel.

void DataArrayDouble::getTinySerializationIntInformation ( std::vector< int > &  tinyInfo  )  const

Useless method for end user. Only for MPI/Corba/File serialsation for multi arrays class. Server side.

References ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArray.getNumberOfTuples(), and ParaMEDMEM.DataArrayDouble.isAllocated().

void DataArrayDouble::getTinySerializationStrInformation ( std::vector< std::string > &  tinyInfo  )  const

Useless method for end user. Only for MPI/Corba/File serialsation for multi arrays class. Server side.

References ParaMEDMEM.DataArray.getInfoOnComponent(), ParaMEDMEM.DataArray.getName(), ParaMEDMEM.DataArray.getNumberOfComponents(), and ParaMEDMEM.DataArrayDouble.isAllocated().

bool DataArrayDouble::resizeForUnserialization ( const std::vector< int > &  tinyInfoI  ) 

Useless method for end user. Only for MPI/Corba/File serialsation for multi arrays class. This method returns if a feeding is needed.

References ParaMEDMEM.DataArrayDouble.alloc(), and medClient_test.nbOfComp.

void DataArrayDouble::finishUnserialization ( const std::vector< int > &  tinyInfoI,
const std::vector< std::string > &  tinyInfoS 
)

Useless method for end user. Only for MPI/Corba/File serialsation for multi arrays class.

References ParaMEDMEM.DataArray.getNumberOfComponents(), ParaMEDMEM.DataArrayDouble.isAllocated(), ParaMEDMEM.DataArray.setInfoOnComponent(), and ParaMEDMEM.DataArray.setName().


Field Documentation