Version: 5.1.6

ParaMEDMEM.MEDCouplingFieldDouble Class Reference

#include <MEDCouplingFieldDouble.hxx>

Inheritance diagram for ParaMEDMEM.MEDCouplingFieldDouble:
Inheritance graph

Public Member Functions

void setTimeUnit (const char *unit)
const char * getTimeUnit () const
void copyTinyStringsFrom (const MEDCouplingFieldDouble *other) throw (INTERP_KERNEL::Exception)
void copyTinyAttrFrom (const MEDCouplingFieldDouble *other) throw (INTERP_KERNEL::Exception)
std::string simpleRepr () const
std::string advancedRepr () const
bool isEqual (const MEDCouplingField *other, double meshPrec, double valsPrec) const
bool isEqualWithoutConsideringStr (const MEDCouplingField *other, double meshPrec, double valsPrec) const
bool areCompatibleForMerge (const MEDCouplingField *other) const
bool areStrictlyCompatible (const MEDCouplingField *other) const
bool areCompatibleForMul (const MEDCouplingField *other) const
bool areCompatibleForDiv (const MEDCouplingField *other) const
bool areCompatibleForMeld (const MEDCouplingFieldDouble *other) const
void renumberCells (const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception)
void renumberCellsWithoutMesh (const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception)
void renumberNodes (const int *old2NewBg) throw (INTERP_KERNEL::Exception)
void renumberNodesWithoutMesh (const int *old2NewBg, double eps=1e-15) throw (INTERP_KERNEL::Exception)
DataArrayIntgetIdsInRange (double vmin, double vmax) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublebuildSubPart (const DataArrayInt *part) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublebuildSubPart (const int *partBg, const int *partEnd) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubledeepCpy () const
MEDCouplingFieldDoubleclone (bool recDeepCpy) const
MEDCouplingFieldDoublecloneWithMesh (bool recDeepCpy) const
MEDCouplingFieldDoublebuildNewTimeReprFromThis (TypeOfTimeDiscretization td, bool deepCpy) const
TypeOfTimeDiscretization getTimeDiscretization () const
void checkCoherency () const throw (INTERP_KERNEL::Exception)
void setNature (NatureOfField nat) throw (INTERP_KERNEL::Exception)
void setTimeTolerance (double val)
double getTimeTolerance () const
void setIteration (int it) throw (INTERP_KERNEL::Exception)
void setEndIteration (int it) throw (INTERP_KERNEL::Exception)
void setOrder (int order) throw (INTERP_KERNEL::Exception)
void setEndOrder (int order) throw (INTERP_KERNEL::Exception)
void setTimeValue (double val) throw (INTERP_KERNEL::Exception)
void setEndTimeValue (double val) throw (INTERP_KERNEL::Exception)
void setTime (double val, int iteration, int order)
void setStartTime (double val, int iteration, int order)
void setEndTime (double val, int iteration, int order)
double getTime (int &iteration, int &order) const
double getStartTime (int &iteration, int &order) const
double getEndTime (int &iteration, int &order) const
double getIJ (int tupleId, int compoId) const
double getIJK (int cellId, int nodeIdInCell, int compoId) const
void setArray (DataArrayDouble *array)
void setEndArray (DataArrayDouble *array)
void setArrays (const std::vector< DataArrayDouble * > &arrs) throw (INTERP_KERNEL::Exception)
const DataArrayDoublegetArray () const
DataArrayDoublegetArray ()
const DataArrayDoublegetEndArray () const
DataArrayDoublegetEndArray ()
std::vector< DataArrayDouble * > getArrays () const
double accumulate (int compId) const
void accumulate (double *res) const
double getMaxValue () const throw (INTERP_KERNEL::Exception)
double getMaxValue2 (DataArrayInt *&tupleIds) const throw (INTERP_KERNEL::Exception)
double getMinValue () const throw (INTERP_KERNEL::Exception)
double getMinValue2 (DataArrayInt *&tupleIds) const throw (INTERP_KERNEL::Exception)
double getAverageValue () const throw (INTERP_KERNEL::Exception)
double getWeightedAverageValue () const throw (INTERP_KERNEL::Exception)
double normL1 (int compId) const throw (INTERP_KERNEL::Exception)
void normL1 (double *res) const throw (INTERP_KERNEL::Exception)
double normL2 (int compId) const throw (INTERP_KERNEL::Exception)
void normL2 (double *res) const throw (INTERP_KERNEL::Exception)
double integral (int compId, bool isWAbs) const throw (INTERP_KERNEL::Exception)
void integral (bool isWAbs, double *res) const throw (INTERP_KERNEL::Exception)
void getValueOnPos (int i, int j, int k, double *res) const throw (INTERP_KERNEL::Exception)
void getValueOn (const double *spaceLoc, double *res) const throw (INTERP_KERNEL::Exception)
void getValueOn (const double *spaceLoc, double time, double *res) const throw (INTERP_KERNEL::Exception)
DataArrayDoublegetValueOnMulti (const double *spaceLoc, int nbOfPoints) const throw (INTERP_KERNEL::Exception)
void applyLin (double a, double b, int compoId)
 temporary
MEDCouplingFieldDoubleoperator= (double value) throw (INTERP_KERNEL::Exception)
void fillFromAnalytic (int nbOfComp, FunctionToEvaluate func) throw (INTERP_KERNEL::Exception)
void fillFromAnalytic (int nbOfComp, const char *func) throw (INTERP_KERNEL::Exception)
void fillFromAnalytic2 (int nbOfComp, const char *func) throw (INTERP_KERNEL::Exception)
void fillFromAnalytic3 (int nbOfComp, const std::vector< std::string > &varsOrder, const char *func) throw (INTERP_KERNEL::Exception)
void applyFunc (int nbOfComp, FunctionToEvaluate func)
void applyFunc (int nbOfComp, double val)
void applyFunc (int nbOfComp, const char *func) throw (INTERP_KERNEL::Exception)
void applyFunc2 (int nbOfComp, const char *func) throw (INTERP_KERNEL::Exception)
void applyFunc3 (int nbOfComp, const std::vector< std::string > &varsOrder, const char *func) throw (INTERP_KERNEL::Exception)
void applyFunc (const char *func) throw (INTERP_KERNEL::Exception)
void applyFuncFast32 (const char *func) throw (INTERP_KERNEL::Exception)
void applyFuncFast64 (const char *func) throw (INTERP_KERNEL::Exception)
int getNumberOfComponents () const throw (INTERP_KERNEL::Exception)
int getNumberOfTuples () const throw (INTERP_KERNEL::Exception)
int getNumberOfValues () const throw (INTERP_KERNEL::Exception)
void updateTime () const
void getTinySerializationIntInformation (std::vector< int > &tinyInfo) const
void getTinySerializationDbleInformation (std::vector< double > &tinyInfo) const
void getTinySerializationStrInformation (std::vector< std::string > &tinyInfo) const
void resizeForUnserialization (const std::vector< int > &tinyInfoI, DataArrayInt *&dataInt, std::vector< DataArrayDouble * > &arrays)
void finishUnserialization (const std::vector< int > &tinyInfoI, const std::vector< double > &tinyInfoD, const std::vector< std::string > &tinyInfoS)
void serialize (DataArrayInt *&dataInt, std::vector< DataArrayDouble * > &arrays) const
void changeUnderlyingMesh (const MEDCouplingMesh *other, int levOfCheck, double prec) throw (INTERP_KERNEL::Exception)
void substractInPlaceDM (const MEDCouplingFieldDouble *f, int levOfCheck, double prec) throw (INTERP_KERNEL::Exception)
bool mergeNodes (double eps, double epsOnVals=1e-15) throw (INTERP_KERNEL::Exception)
bool mergeNodes2 (double eps, double epsOnVals=1e-15) throw (INTERP_KERNEL::Exception)
bool zipCoords (double epsOnVals=1e-15) throw (INTERP_KERNEL::Exception)
bool zipConnectivity (int compType, double epsOnVals=1e-15) throw (INTERP_KERNEL::Exception)
bool simplexize (int policy) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubledoublyContractedProduct () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubledeterminant () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleeigenValues () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleeigenVectors () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleinverse () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubletrace () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubledeviator () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublemagnitude () const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublemaxPerTuple () const throw (INTERP_KERNEL::Exception)
void changeNbOfComponents (int newNbOfComp, double dftValue=0.) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublekeepSelectedComponents (const std::vector< int > &compoIds) const throw (INTERP_KERNEL::Exception)
void setSelectedComponents (const MEDCouplingFieldDouble *f, const std::vector< int > &compoIds) throw (INTERP_KERNEL::Exception)
void sortPerTuple (bool asc) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubledot (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublecrossProduct (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublemax (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublemin (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleoperator+ (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDoubleoperator+= (const MEDCouplingFieldDouble &other) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleoperator- (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDoubleoperator-= (const MEDCouplingFieldDouble &other) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleoperator* (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDoubleoperator*= (const MEDCouplingFieldDouble &other) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubleoperator/ (const MEDCouplingFieldDouble &other) const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDoubleoperator/= (const MEDCouplingFieldDouble &other) throw (INTERP_KERNEL::Exception)
const
MEDCouplingTimeDiscretization
getTimeDiscretizationUnderGround () const
MEDCouplingTimeDiscretizationgetTimeDiscretizationUnderGround ()
 MEDCouplingFieldDouble (TypeOfField type, TypeOfTimeDiscretization td)
 MEDCouplingFieldDouble (const MEDCouplingFieldTemplate *ft, TypeOfTimeDiscretization td)
 MEDCouplingFieldDouble (const MEDCouplingFieldDouble &other, bool deepCpy)
 MEDCouplingFieldDouble (NatureOfField n, MEDCouplingTimeDiscretization *td, MEDCouplingFieldDiscretization *type)
 ~MEDCouplingFieldDouble ()

Static Public Member Functions

static MEDCouplingFieldDoubleNew (TypeOfField type, TypeOfTimeDiscretization td=NO_TIME)
static MEDCouplingFieldDoubleNew (const MEDCouplingFieldTemplate *ft, TypeOfTimeDiscretization td=NO_TIME)
static MEDCouplingFieldDoubleMergeFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleMergeFields (const std::vector< const MEDCouplingFieldDouble * > &a) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleMeldFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleDotFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleCrossProductFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleMaxFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleMinFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleAddFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleSubstractFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleMultiplyFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)
static MEDCouplingFieldDoubleDivideFields (const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2) throw (INTERP_KERNEL::Exception)

Data Fields

MEDCouplingTimeDiscretization_time_discr

Constructor & Destructor Documentation

MEDCouplingFieldDouble::MEDCouplingFieldDouble ( TypeOfField  type,
TypeOfTimeDiscretization  td 
)
MEDCouplingFieldDouble::MEDCouplingFieldDouble ( const MEDCouplingFieldTemplate ft,
TypeOfTimeDiscretization  td 
)
MEDCouplingFieldDouble::MEDCouplingFieldDouble ( const MEDCouplingFieldDouble other,
bool  deepCpy 
)
MEDCouplingFieldDouble::MEDCouplingFieldDouble ( NatureOfField  n,
MEDCouplingTimeDiscretization td,
MEDCouplingFieldDiscretization type 
)
MEDCouplingFieldDouble::~MEDCouplingFieldDouble (  ) 

Member Function Documentation

MEDCouplingFieldDouble * MEDCouplingFieldDouble::New ( TypeOfField  type,
TypeOfTimeDiscretization  td = NO_TIME 
) [static]
MEDCouplingFieldDouble * MEDCouplingFieldDouble::New ( const MEDCouplingFieldTemplate ft,
TypeOfTimeDiscretization  td = NO_TIME 
) [static]
void MEDCouplingFieldDouble::setTimeUnit ( const char *  unit  ) 
const char * MEDCouplingFieldDouble::getTimeUnit (  )  const
void MEDCouplingFieldDouble::copyTinyStringsFrom ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)

Copy tiny info (component names, name, description) but warning the underlying mesh is not renamed (for safety reason).

void MEDCouplingFieldDouble::copyTinyAttrFrom ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)

Copy only times, order, iteration from other. The underlying mesh is not impacted by this method.

std::string MEDCouplingFieldDouble::simpleRepr (  )  const
std::string MEDCouplingFieldDouble::advancedRepr (  )  const
bool MEDCouplingFieldDouble::isEqual ( const MEDCouplingField other,
double  meshPrec,
double  valsPrec 
) const
bool MEDCouplingFieldDouble::isEqualWithoutConsideringStr ( const MEDCouplingField other,
double  meshPrec,
double  valsPrec 
) const
bool MEDCouplingFieldDouble::areCompatibleForMerge ( const MEDCouplingField other  )  const

This method states if 'this' and 'other' are compatibles each other before performing any treatment. This method is good for methods like : mergeFields. This method is not very demanding compared to areStrictlyCompatible that is better for operation on fields.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingTimeDiscretization.areCompatible(), and ParaMEDMEM.MEDCouplingField.areCompatibleForMerge().

bool MEDCouplingFieldDouble::areStrictlyCompatible ( const MEDCouplingField other  )  const

This method is more strict than MEDCouplingField.areCompatibleForMerge method. This method is used for operation on fields to operate a first check before attempting operation.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingTimeDiscretization.areStrictlyCompatible(), and ParaMEDMEM.MEDCouplingField.areStrictlyCompatible().

bool MEDCouplingFieldDouble::areCompatibleForMul ( const MEDCouplingField other  )  const

Method with same principle than MEDCouplingFieldDouble.areStrictlyCompatible method except that number of components between 'this' and 'other' can be different here (for operator*).

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField.areStrictlyCompatible(), and ParaMEDMEM.MEDCouplingTimeDiscretization.areStrictlyCompatibleForMul().

bool MEDCouplingFieldDouble::areCompatibleForDiv ( const MEDCouplingField other  )  const

Method with same principle than MEDCouplingFieldDouble.areStrictlyCompatible method except that number of components between 'this' and 'other' can be different here (for operator/).

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField.areStrictlyCompatible(), and ParaMEDMEM.MEDCouplingTimeDiscretization.areStrictlyCompatibleForDiv().

bool MEDCouplingFieldDouble::areCompatibleForMeld ( const MEDCouplingFieldDouble other  )  const

This method is invocated before any attempt of melding. This method is very close to areStrictlyCompatible, except that 'this' and other can have different number of components.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingTimeDiscretization.areCompatibleForMeld(), and ParaMEDMEM.MEDCouplingField.areStrictlyCompatible().

void MEDCouplingFieldDouble::renumberCells ( const int old2NewBg,
bool  check 
) throw (INTERP_KERNEL::Exception)

This method performs a clone of mesh and a renumbering of underlying cells of it. The number of cells remains the same. The values of field are impacted in consequence to have the same geometrical field.

References TestMedCorba2.m.

void MEDCouplingFieldDouble::renumberCellsWithoutMesh ( const int old2NewBg,
bool  check 
) throw (INTERP_KERNEL::Exception)

WARNING : use this method with lot of care ! This method performs half job of MEDCouplingFieldDouble.renumberCells. That is to say no permutation of cells is done on underlying mesh. That is to say, the field content is changed by this method. The reason of this method is only for multi-field instances lying on the same mesh to avoid a systematic duplication and renumbering of _mesh attribute.

void MEDCouplingFieldDouble::renumberNodes ( const int old2NewBg  )  throw (INTERP_KERNEL::Exception)

This method performs a clone of mesh and a renumbering of underlying nodes of it. The number of nodes remains not compulsory the same as renumberCells method. The values of field are impacted in consequence to have the same geometrical field.

References ParaMEDMEM.MEDCouplingMesh.deepCpy(), and ParaMEDMEM.MEDCouplingPointSet.getNumberOfNodes().

void MEDCouplingFieldDouble::renumberNodesWithoutMesh ( const int old2NewBg,
double  eps = 1e-15 
) throw (INTERP_KERNEL::Exception)

WARNING : use this method with lot of care ! This method performs half job of MEDCouplingFieldDouble.renumberNodes. That is to say no permutation of cells is done on underlying mesh. That is to say, the field content is changed by this method.

DataArrayInt * MEDCouplingFieldDouble::getIdsInRange ( double  vmin,
double  vmax 
) const throw (INTERP_KERNEL::Exception)

This method makes the assumption that the default array is set. If not an exception will be thrown. This method is usable only if the default array has exactly one component. If not an exception will be thrown too. This method returns all tuples ids that fit the range [vmin,vmax]. The caller has the responsability of the returned DataArrayInt.

MEDCouplingFieldDouble * MEDCouplingFieldDouble::buildSubPart ( const DataArrayInt part  )  const throw (INTERP_KERNEL::Exception)

Builds a newly created field, that the caller will have the responsability. This method makes the assumption that the field is correctly defined when this method is called, no check of this will be done. This method returns a restriction of 'this' so that only tuples id specified in 'part' will be contained in returned field.

References med_test1.end.

MEDCouplingFieldDouble * MEDCouplingFieldDouble::buildSubPart ( const int partBg,
const int partEnd 
) const throw (INTERP_KERNEL::Exception)

Builds a newly created field, that the caller will have the responsability. This method makes the assumption that the field is correctly defined when this method is called, no check of this will be done. This method returns a restriction of 'this' so that only tuples id specified in ['partBg';'partEnd') will be contained in returned field.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.RefCountObject.decrRef(), ParaMEDMEM.DataArrayInt.getConstPointer(), ParaMEDMEM.DataArray.getNbOfElems(), TestMedCorba2.m, testMEDMEM.ret, ParaMEDMEM.DataArrayDouble.selectByTupleId(), ParaMEDMEM.MEDCouplingTimeDiscretization.setArrays(), and ParaMEDMEM.MEDCouplingField.setMesh().

MEDCouplingFieldDouble * MEDCouplingFieldDouble::deepCpy (  )  const
MEDCouplingFieldDouble * MEDCouplingFieldDouble::clone ( bool  recDeepCpy  )  const
MEDCouplingFieldDouble * MEDCouplingFieldDouble::cloneWithMesh ( bool  recDeepCpy  )  const
MEDCouplingFieldDouble * MEDCouplingFieldDouble::buildNewTimeReprFromThis ( TypeOfTimeDiscretization  td,
bool  deepCpy 
) const
TypeOfTimeDiscretization MEDCouplingFieldDouble::getTimeDiscretization (  )  const
void MEDCouplingFieldDouble::checkCoherency (  )  const throw (INTERP_KERNEL::Exception) [virtual]
void MEDCouplingFieldDouble::setNature ( NatureOfField  nat  )  throw (INTERP_KERNEL::Exception) [virtual]
void ParaMEDMEM.MEDCouplingFieldDouble.setTimeTolerance ( double  val  ) 
double ParaMEDMEM.MEDCouplingFieldDouble.getTimeTolerance (  )  const
void ParaMEDMEM.MEDCouplingFieldDouble.setIteration ( int  it  )  throw (INTERP_KERNEL::Exception)

References Med_Gen_test.it.

void ParaMEDMEM.MEDCouplingFieldDouble.setEndIteration ( int  it  )  throw (INTERP_KERNEL::Exception)

References Med_Gen_test.it.

void ParaMEDMEM.MEDCouplingFieldDouble.setOrder ( int  order  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingFieldDouble.setEndOrder ( int  order  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingFieldDouble.setTimeValue ( double  val  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingFieldDouble.setEndTimeValue ( double  val  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingFieldDouble.setTime ( double  val,
int  iteration,
int  order 
)
void ParaMEDMEM.MEDCouplingFieldDouble.setStartTime ( double  val,
int  iteration,
int  order 
)
void ParaMEDMEM.MEDCouplingFieldDouble.setEndTime ( double  val,
int  iteration,
int  order 
)
double ParaMEDMEM.MEDCouplingFieldDouble.getTime ( int iteration,
int order 
) const
double ParaMEDMEM.MEDCouplingFieldDouble.getStartTime ( int iteration,
int order 
) const
double ParaMEDMEM.MEDCouplingFieldDouble.getEndTime ( int iteration,
int order 
) const
double ParaMEDMEM.MEDCouplingFieldDouble.getIJ ( int  tupleId,
int  compoId 
) const
double MEDCouplingFieldDouble::getIJK ( int  cellId,
int  nodeIdInCell,
int  compoId 
) const
void MEDCouplingFieldDouble::setArray ( DataArrayDouble array  ) 
void MEDCouplingFieldDouble::setEndArray ( DataArrayDouble array  ) 
void MEDCouplingFieldDouble::setArrays ( const std::vector< DataArrayDouble * > &  arrs  )  throw (INTERP_KERNEL::Exception)
const DataArrayDouble* ParaMEDMEM.MEDCouplingFieldDouble.getArray (  )  const
DataArrayDouble* ParaMEDMEM.MEDCouplingFieldDouble.getArray (  ) 
const DataArrayDouble* ParaMEDMEM.MEDCouplingFieldDouble.getEndArray (  )  const
DataArrayDouble* ParaMEDMEM.MEDCouplingFieldDouble.getEndArray (  ) 
std::vector<DataArrayDouble *> ParaMEDMEM.MEDCouplingFieldDouble.getArrays (  )  const

References testMEDMEM.ret.

double MEDCouplingFieldDouble::accumulate ( int  compId  )  const

Returns the accumulation (the sum) of comId_th component of each tuples of default and only default array.

References ParaMEDMEM.DataArrayDouble.accumulate(), and ParaMEDMEM.MEDCouplingFieldDouble.getArray().

void MEDCouplingFieldDouble::accumulate ( double res  )  const

Returns the accumulation (the sum) of all tuples of default and only default array. The res is expected to be of size getNumberOfComponents().

References ParaMEDMEM.DataArrayDouble.accumulate(), and ParaMEDMEM.MEDCouplingFieldDouble.getArray().

double MEDCouplingFieldDouble::getMaxValue (  )  const throw (INTERP_KERNEL::Exception)

This method returns the max value in 'this'. 'This' is expected to be a field with exactly one component. If not an exception will be thrown. To getMaxValue on vector field applyFunc is needed before. This method looks only on all arrays stored in 'this->_time_discr'. If no arrays exists, an exception will be thrown.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingTimeDiscretization.getArrays(), ParaMEDMEM.MEDCouplingFieldDouble.max(), and testMEDMEM.ret.

double MEDCouplingFieldDouble::getMaxValue2 ( DataArrayInt *&  tupleIds  )  const throw (INTERP_KERNEL::Exception)

This method is an extension of ParaMEDMEM.MEDCouplingFieldDouble.getMaxValue method because the returned value is the same but this method also returns to you a tupleIds object which the caller have the responsibility to deal with. The main difference is that the returned tupleIds is those corresponding the first set array. If you have more than one array set (in LINEAR_TIME instance for example) only the first not null array will be used to compute tupleIds.

References ParaMEDMEM.RefCountObject.decrRef(), and testMEDMEM.ret.

double MEDCouplingFieldDouble::getMinValue (  )  const throw (INTERP_KERNEL::Exception)

This method returns the min value in 'this'. 'This' is expected to be a field with exactly one component. If not an exception will be thrown. To getMinValue on vector field applyFunc is needed before. This method looks only on all arrays stored in 'this->_time_discr'. If no arrays exists, an exception will be thrown.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingTimeDiscretization.getArrays(), ParaMEDMEM.MEDCouplingFieldDouble.max(), ParaMEDMEM.MEDCouplingFieldDouble.min(), and testMEDMEM.ret.

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

This method is an extension of ParaMEDMEM.MEDCouplingFieldDouble.getMinValue method because the returned value is the same but this method also returns to you a tupleIds object which the caller have the responsibility to deal with. The main difference is that the returned tupleIds is those corresponding the first set array. If you have more than one array set (in LINEAR_TIME instance for example) only the first not null array will be used to compute tupleIds.

References ParaMEDMEM.RefCountObject.decrRef(), and testMEDMEM.ret.

double MEDCouplingFieldDouble::getAverageValue (  )  const throw (INTERP_KERNEL::Exception)

This method returns the average value in 'this'. 'This' is expected to be a field with exactly one component. If not an exception will be thrown. To getAverageValue on vector field applyFunc is needed before. This method looks only default array and only default. If default array does not exist, an exception will be thrown.

References ParaMEDMEM.MEDCouplingFieldDouble.getArray(), and ParaMEDMEM.DataArrayDouble.getAverageValue().

double MEDCouplingFieldDouble::getWeightedAverageValue (  )  const throw (INTERP_KERNEL::Exception)

This method returns the average value in 'this' weighted by ParaMEDMEM.MEDCouplingField.buildMeasureField. 'This' is expected to be a field with exactly one component. If not an exception will be thrown. To getAverageValue on vector field applyFunc is needed before. This method looks only default array and only default. If default array does not exist, an exception will be thrown.

References ParaMEDMEM.DataArrayDouble.accumulate(), ParaMEDMEM.MEDCouplingField.buildMeasureField(), ParaMEDMEM.RefCountObject.decrRef(), ParaMEDMEM.MEDCouplingFieldDouble.getArray(), and ParaMEDMEM.DataArrayDouble.multiplyEqual().

double MEDCouplingFieldDouble::normL1 ( int  compId  )  const throw (INTERP_KERNEL::Exception)

Returns the normL1 of current field on compId component :

\[ \frac{\sum_{0 \leq i < nbOfEntity}|val[i]*Vol[i]|}{\sum_{0 \leq i < nbOfEntity}|Vol[i]|} \]

If compId>=nbOfComponent an exception is thrown.

References testMEDMEM.ret.

void MEDCouplingFieldDouble::normL1 ( double res  )  const throw (INTERP_KERNEL::Exception)

Returns the normL1 of current field on each components :

\[ \frac{\sum_{0 \leq i < nbOfEntity}|val[i]*Vol[i]|}{\sum_{0 \leq i < nbOfEntity}|Vol[i]|} \]

The res is expected to be of size getNumberOfComponents().

double MEDCouplingFieldDouble::normL2 ( int  compId  )  const throw (INTERP_KERNEL::Exception)

Returns the normL2 of current field on compId component :

\[ \sqrt{\frac{\sum_{0 \leq i < nbOfEntity}|val[i]^{2}*Vol[i]|}{\sum_{0 \leq i < nbOfEntity}|Vol[i]|}} \]

If compId>=nbOfComponent an exception is thrown.

References testMEDMEM.ret.

void MEDCouplingFieldDouble::normL2 ( double res  )  const throw (INTERP_KERNEL::Exception)

Returns the normL2 of current field on each components :

\[ \sqrt{\frac{\sum_{0 \leq i < nbOfEntity}|val[i]^{2}*Vol[i]|}{\sum_{0 \leq i < nbOfEntity}|Vol[i]|}} \]

The res is expected to be of size getNumberOfComponents().

double MEDCouplingFieldDouble::integral ( int  compId,
bool  isWAbs 
) const throw (INTERP_KERNEL::Exception)

Returns the accumulation (the sum) of comId_th component of each tuples weigthed by the field returns by getWeightingField relative of the _type of field of default array. This method is usefull to check the conservativity of interpolation method.

References testMEDMEM.ret.

void MEDCouplingFieldDouble::integral ( bool  isWAbs,
double res 
) const throw (INTERP_KERNEL::Exception)

Returns the accumulation (the sum) of each tuples weigthed by the field returns by getWeightingField relative of the _type of field of default array. This method is usefull to check the conservativity of interpolation method.

void MEDCouplingFieldDouble::getValueOnPos ( int  i,
int  j,
int  k,
double res 
) const throw (INTERP_KERNEL::Exception)

This method is reserved for field lying on structured mesh spatial support. It returns the value of cell localized by (i,j,k) If spatial support is not structured mesh an exception will be thrown.

Parameters:
res out array expected to be equal to size getNumberOfComponents()
void MEDCouplingFieldDouble::getValueOn ( const double spaceLoc,
double res 
) const throw (INTERP_KERNEL::Exception)

Returns value of 'this' on default time of point 'spaceLoc' using spatial discretization. If 'point' is outside the spatial discretization of this an exception will be thrown.

void MEDCouplingFieldDouble::getValueOn ( const double spaceLoc,
double  time,
double res 
) const throw (INTERP_KERNEL::Exception)

Returns value of 'this' on time 'time' of point 'spaceLoc' using spatial discretization. If 'time' is not covered by this->_time_discr an exception will be thrown. If 'point' is outside the spatial discretization of this an exception will be thrown.

References medClient_test.time.

DataArrayDouble * MEDCouplingFieldDouble::getValueOnMulti ( const double spaceLoc,
int  nbOfPoints 
) const throw (INTERP_KERNEL::Exception)

Returns a newly allocated array with 'nbOfPoints' tuples and nb of components equal to 'this->getNumberOfComponents()'.

void MEDCouplingFieldDouble::applyLin ( double  a,
double  b,
int  compoId 
)

temporary

Applies a*x+b on 'compoId'th component of each cell.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, and ParaMEDMEM.MEDCouplingTimeDiscretization.applyLin().

MEDCouplingFieldDouble & MEDCouplingFieldDouble::operator= ( double  value  )  throw (INTERP_KERNEL::Exception)

This method sets 'this' to a uniform scalar field with one component. All tuples will have the same value 'value'. An exception is thrown if no underlying mesh is defined.

References batchmode_medcorba_test.value.

void MEDCouplingFieldDouble::fillFromAnalytic ( int  nbOfComp,
FunctionToEvaluate  func 
) throw (INTERP_KERNEL::Exception)

This method is very similar to this one MEDCouplingMesh.fillFromAnalytic. See MEDCouplingMesh.fillFromAnalytic method doc to have more details. The main difference is that the field as been started to be constructed here. An exception is thrown if no underlying mesh is set before the call of this method.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::fillFromAnalytic ( int  nbOfComp,
const char *  func 
) throw (INTERP_KERNEL::Exception)

This method is very similar to this one MEDCouplingMesh.fillFromAnalytic. See MEDCouplingMesh.fillFromAnalytic method doc to have more details. The main difference is that the field as been started to be constructed here. An exception is thrown if no underlying mesh is set before the call of this method.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::fillFromAnalytic2 ( int  nbOfComp,
const char *  func 
) throw (INTERP_KERNEL::Exception)

This method is very similar to this one MEDCouplingMesh.fillFromAnalytic2. See MEDCouplingMesh.fillFromAnalytic method doc to have more details. The main difference is that the field as been started to be constructed here. An exception is throw if no underlying mesh is set before the call of this method.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::fillFromAnalytic3 ( int  nbOfComp,
const std::vector< std::string > &  varsOrder,
const char *  func 
) throw (INTERP_KERNEL::Exception)

This method is very similar to this one MEDCouplingMesh.fillFromAnalytic3. See MEDCouplingMesh.fillFromAnalytic method doc to have more details. The main difference is that the field as been started to be constructed here. An exception is thrown if no underlying mesh is set before the call of this method.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::applyFunc ( int  nbOfComp,
FunctionToEvaluate  func 
)

Applyies the function specified by pointer 'func' on each tuples on all arrays contained in _time_discr. If '*func' returns false during one evaluation an exception will be thrown.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, and ParaMEDMEM.MEDCouplingTimeDiscretization.applyFunc().

void MEDCouplingFieldDouble::applyFunc ( int  nbOfComp,
double  val 
)

This method is a specialization of other overloaded methods. When 'nbOfComp' equals 1 this method is equivalent to ParaMEDMEM.MEDCouplingFieldDouble.operator=.

References ParaMEDMEM.MEDCouplingField._mesh, ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField._type, ParaMEDMEM.MEDCouplingFieldDiscretization.getNumberOfTuples(), and ParaMEDMEM.MEDCouplingTimeDiscretization.setUniformValue().

void MEDCouplingFieldDouble::applyFunc ( int  nbOfComp,
const char *  func 
) throw (INTERP_KERNEL::Exception)

Applyies the function specified by the string repr 'func' on each tuples on all arrays contained in _time_discr. If '*func' fails in evaluation during one evaluation an exception will be thrown. The field will contain 'nbOfComp' components after the call.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::applyFunc2 ( int  nbOfComp,
const char *  func 
) throw (INTERP_KERNEL::Exception)

This method is equivalent to MEDCouplingFieldDouble.applyFunc, except that here components info are used to determine variables position in 'func'. If there is vars detected in 'func' that is not in an info on components an exception will be thrown.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::applyFunc3 ( int  nbOfComp,
const std::vector< std::string > &  varsOrder,
const char *  func 
) throw (INTERP_KERNEL::Exception)

This method is equivalent to MEDCouplingFieldDouble.applyFunc, except that here 'varsOrder' is used to determine variables position in 'func'. If there is vars detected in 'func' that is not in 'varsOrder' an exception will be thrown.

References medClient_test.nbOfComp.

void MEDCouplingFieldDouble::applyFunc ( const char *  func  )  throw (INTERP_KERNEL::Exception)

Applyies the function specified by the string repr 'func' on each tuples on all arrays contained in _time_discr. If '*func' fails in evaluation during one evaluation an exception will be thrown. The field will contain exactly the same number of components after the call.

void MEDCouplingFieldDouble::applyFuncFast32 ( const char *  func  )  throw (INTERP_KERNEL::Exception)

Applyies the function specified by the string repr 'func' on each tuples on all arrays contained in _time_discr. The field will contain exactly the same number of components after the call. Use is not warranted for the moment !

void MEDCouplingFieldDouble::applyFuncFast64 ( const char *  func  )  throw (INTERP_KERNEL::Exception)

Applyies the function specified by the string repr 'func' on each tuples on all arrays contained in _time_discr. The field will contain exactly the same number of components after the call. Use is not warranted for the moment !

int MEDCouplingFieldDouble::getNumberOfComponents (  )  const throw (INTERP_KERNEL::Exception)

This method makes the assumption that the default array has been set before. If not an exception will be sent. If default array set, the number of components will be sent.

References ParaMEDMEM.MEDCouplingFieldDouble.getArray(), and ParaMEDMEM.DataArray.getNumberOfComponents().

int MEDCouplingFieldDouble::getNumberOfTuples (  )  const throw (INTERP_KERNEL::Exception)

This method makes the assumption that _mesh has be set before the call of this method and description of gauss localizations in case of Gauss field. If not an exception will sent. Contrary to MEDCouplingFieldDouble.getNumberOfComponents and MEDCouplingFieldDouble.getNumberOfValues is not aware of the presence of the default array. WARNING no coherency check is done here. MEDCouplingFieldDouble.checkCoherency method should be called to check that !

References ParaMEDMEM.MEDCouplingField._mesh, ParaMEDMEM.MEDCouplingField._type, and ParaMEDMEM.MEDCouplingFieldDiscretization.getNumberOfTuples().

int MEDCouplingFieldDouble::getNumberOfValues (  )  const throw (INTERP_KERNEL::Exception)

This method makes the assumption that the default array has been set before. If not an exception will be sent. If default array set, the number of values present in the default array will be sent.

References ParaMEDMEM.MEDCouplingFieldDouble.getArray(), and ParaMEDMEM.DataArray.getNbOfElems().

void MEDCouplingFieldDouble::updateTime (  )  const [virtual]
void MEDCouplingFieldDouble::getTinySerializationIntInformation ( std::vector< int > &  tinyInfo  )  const

This method retrieves some critical values to resize and prepare remote instance. The first two elements returned in tinyInfo correspond to the parameters to give in constructor.

Parameters:
tinyInfo out parameter resized correctly after the call. The length of this vector is tiny.

References ParaMEDMEM.MEDCouplingField._nature, ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField._type, ParaMEDMEM.MEDCouplingTimeDiscretization.getEnum(), ParaMEDMEM.MEDCouplingFieldDiscretization.getEnum(), ParaMEDMEM.MEDCouplingFieldDiscretization.getTinySerializationIntInformation(), and ParaMEDMEM.MEDCouplingTimeDiscretization.getTinySerializationIntInformation().

void MEDCouplingFieldDouble::getTinySerializationDbleInformation ( std::vector< double > &  tinyInfo  )  const

This method retrieves some critical values to resize and prepare remote instance.

Parameters:
tinyInfo out parameter resized correctly after the call. The length of this vector is tiny.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField._type, ParaMEDMEM.MEDCouplingFieldDiscretization.getTinySerializationDbleInformation(), and ParaMEDMEM.MEDCouplingTimeDiscretization.getTinySerializationDbleInformation().

void MEDCouplingFieldDouble::getTinySerializationStrInformation ( std::vector< std::string > &  tinyInfo  )  const
void MEDCouplingFieldDouble::resizeForUnserialization ( const std::vector< int > &  tinyInfoI,
DataArrayInt *&  dataInt,
std::vector< DataArrayDouble * > &  arrays 
)

This method has to be called to the new instance filled by CORBA, MPI, File...

Parameters:
tinyInfoI is the value retrieves from distant result of getTinySerializationIntInformation on source instance to be copied.
dataInt out parameter. If not null the pointer is already owned by 'this' after the call of this method. In this case no decrRef must be applied.
arrays out parameter is a vector resized to the right size. The pointers in the vector is already owned by 'this' after the call of this method. No decrRef must be applied to every instances in returned vector.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField._type, ParaMEDMEM.MEDCouplingFieldDiscretization.resizeForUnserialization(), and ParaMEDMEM.MEDCouplingTimeDiscretization.resizeForUnserialization().

void MEDCouplingFieldDouble::finishUnserialization ( const std::vector< int > &  tinyInfoI,
const std::vector< double > &  tinyInfoD,
const std::vector< std::string > &  tinyInfoS 
)
void MEDCouplingFieldDouble::serialize ( DataArrayInt *&  dataInt,
std::vector< DataArrayDouble * > &  arrays 
) const

Contrary to MEDCouplingPointSet class the returned arrays are not the responsabilities of the caller. The values returned must be consulted only in readonly mode.

References ParaMEDMEM.MEDCouplingFieldDouble._time_discr, ParaMEDMEM.MEDCouplingField._type, ParaMEDMEM.MEDCouplingTimeDiscretization.getArrays(), and ParaMEDMEM.MEDCouplingFieldDiscretization.getSerializationIntArray().

void MEDCouplingFieldDouble::changeUnderlyingMesh ( const MEDCouplingMesh other,
int  levOfCheck,
double  prec 
) throw (INTERP_KERNEL::Exception)

This method tries to to change the mesh support of 'this' following the parameter 'levOfCheck' and 'prec'. Semantic of 'levOfCheck' is explained in MEDCouplingMesh.checkGeoEquivalWith method. This method is used to perform the job. If this->_mesh is not defined or other an exeption will be throw.

References ParaMEDMEM.RefCountObject.decrRef(), and ParaMEDMEM.DataArrayInt.getConstPointer().

void MEDCouplingFieldDouble::substractInPlaceDM ( const MEDCouplingFieldDouble f,
int  levOfCheck,
double  prec 
) throw (INTERP_KERNEL::Exception)

This method is an extension of MEDCouplingFieldDouble.operator-=. It allows a user to operate a difference of 2 fields ('this' and 'f') even if they do not share same meshes. No interpolation will be done here only an analyze of two underlying mesh will be done to see if the meshes are geometrically equivalent. If yes, the eventual renumbering will be done and operator-= applyed after. This method requires that 'f' and 'this' are coherent (check coherency) and that 'f' and 'this' would be coherent for a merge. Semantic of 'levOfCheck' is explained in MEDCouplingMesh.checkGeoEquivalWith method.

References MEDCouplingCorbaSwigTestClt.f.

bool MEDCouplingFieldDouble::mergeNodes ( double  eps,
double  epsOnVals = 1e-15 
) throw (INTERP_KERNEL::Exception)

Merge nodes of underlying mesh. In case of some node will be merged the underlying mesh instance will change. The first 'eps' stands for geometric approximation. The second 'epsOnVals' is for epsilon on values in case of node merging. If 2 nodes distant from less than 'eps' and with value different with more than 'epsOnVals' an exception will be thrown.

References ParaMEDMEM.MEDCouplingMesh.deepCpy(), and testMEDMEM.ret.

bool MEDCouplingFieldDouble::mergeNodes2 ( double  eps,
double  epsOnVals = 1e-15 
) throw (INTERP_KERNEL::Exception)

Merge nodes with (barycenter computation) of underlying mesh. In case of some node will be merged the underlying mesh instance will change. The first 'eps' stands for geometric approximation. The second 'epsOnVals' is for epsilon on values in case of node merging. If 2 nodes distant from less than 'eps' and with value different with more than 'epsOnVals' an exception will be thrown.

References ParaMEDMEM.MEDCouplingMesh.deepCpy(), and testMEDMEM.ret.

bool MEDCouplingFieldDouble::zipCoords ( double  epsOnVals = 1e-15  )  throw (INTERP_KERNEL::Exception)

This method applyies ParaMEDMEM.MEDCouplingPointSet.zipCoords method on 'this->_mesh' that should be set and of type ParaMEDMEM.MEDCouplingPointSet. If some nodes have disappeared true is returned. 'epsOnVals' stands for epsilon in case of merge of cells. This value is used as tolerance in case the corresponding values differ.

References ParaMEDMEM.MEDCouplingMesh.deepCpy().

bool MEDCouplingFieldDouble::zipConnectivity ( int  compType,
double  epsOnVals = 1e-15 
) throw (INTERP_KERNEL::Exception)

This method applyies ParaMEDMEM.MEDCouplingUMesh.zipConnectivityTraducer on 'this->_mesh' that should be set and of type ParaMEDMEM.MEDCouplingUMesh. The semantic of 'compType' is given in ParaMEDMEM.MEDCouplingUMesh.zipConnectivityTraducer method. 'epsOnVals' stands for epsilon in case of merge of cells. This value is used as tolerance in case the corresponding values differ.

References ParaMEDMEM.MEDCouplingUMesh.deepCpy().

bool MEDCouplingFieldDouble::simplexize ( int  policy  )  throw (INTERP_KERNEL::Exception)

This method applyies ParaMEDMEM.MEDCouplingUMesh.simplexize on 'this->_mesh'. The semantic of 'policy' is given in ParaMEDMEM.MEDCouplingUMesh.simplexize method.

MEDCouplingFieldDouble * MEDCouplingFieldDouble::doublyContractedProduct (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::determinant (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::eigenValues (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::eigenVectors (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::inverse (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::trace (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::deviator (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::magnitude (  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::maxPerTuple (  )  const throw (INTERP_KERNEL::Exception)
void MEDCouplingFieldDouble::changeNbOfComponents ( int  newNbOfComp,
double  dftValue = 0. 
) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::keepSelectedComponents ( const std::vector< int > &  compoIds  )  const throw (INTERP_KERNEL::Exception)
void MEDCouplingFieldDouble::setSelectedComponents ( const MEDCouplingFieldDouble f,
const std::vector< int > &  compoIds 
) throw (INTERP_KERNEL::Exception)
void MEDCouplingFieldDouble::sortPerTuple ( bool  asc  )  throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::MergeFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble * MEDCouplingFieldDouble::MergeFields ( const std::vector< const MEDCouplingFieldDouble * > &  a  )  throw (INTERP_KERNEL::Exception) [static]

This method returns a newly created field that is the union of all fields in input array 'a'. This method expects that 'a' is non empty. If not an exception will be thrown. If there is only one field in 'a' a deepCopy (except time information of mesh and field) of the unique field instance in 'a' will be returned. Generally speaking the first instance field in 'a' will be used to assign tiny attributes of returned field.

References testGaussLocalization.a, ParaMEDMEM.MEDCouplingFieldDouble.areCompatibleForMerge(), ParaMEDMEM.MEDCouplingTimeDiscretization.copyTinyAttrFrom(), Med_Gen_test.it, TestMedCorba2.m, ParaMEDMEM.MEDCouplingUMesh.MergeUMeshes(), testMEDMEM.ret, ParaMEDMEM.MEDCouplingField.setDescription(), ParaMEDMEM.MEDCouplingField.setMesh(), and ParaMEDMEM.MEDCouplingField.setName().

MEDCouplingFieldDouble * MEDCouplingFieldDouble::MeldFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble * MEDCouplingFieldDouble::DotFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.dot ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::CrossProductFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.crossProduct ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::MaxFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.max ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::MinFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.min ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.operator+ ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDouble & MEDCouplingFieldDouble::operator+= ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::AddFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.operator- ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDouble & MEDCouplingFieldDouble::operator-= ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::SubstractFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.operator* ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDouble & MEDCouplingFieldDouble::operator*= ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::MultiplyFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingFieldDouble.operator/ ( const MEDCouplingFieldDouble other  )  const throw (INTERP_KERNEL::Exception)
const MEDCouplingFieldDouble & MEDCouplingFieldDouble::operator/= ( const MEDCouplingFieldDouble other  )  throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDCouplingFieldDouble::DivideFields ( const MEDCouplingFieldDouble f1,
const MEDCouplingFieldDouble f2 
) throw (INTERP_KERNEL::Exception) [static]
const MEDCouplingTimeDiscretization* ParaMEDMEM.MEDCouplingFieldDouble.getTimeDiscretizationUnderGround (  )  const
MEDCouplingTimeDiscretization* ParaMEDMEM.MEDCouplingFieldDouble.getTimeDiscretizationUnderGround (  ) 

Field Documentation