Version: 6.5.0
Public Member Functions | Static Public Member Functions | List of all members
ParaMEDMEM::MEDFileFieldMultiTS Class Reference
Inheritance diagram for ParaMEDMEM::MEDFileFieldMultiTS:
Inheritance graph
[legend]
Collaboration diagram for ParaMEDMEM::MEDFileFieldMultiTS:
Collaboration graph
[legend]

Public Member Functions

std::string simpleRepr () const
void write (const char *fileName, int mode) const throw (INTERP_KERNEL::Exception)
void writeLL (med_idt fid) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldAtLevel (TypeOfField type, int iteration, int order, int meshDimRelToMax, int renumPol=0) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldAtTopLevel (TypeOfField type, int iteration, int order, int renumPol=0) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int iteration, int order, int meshDimRelToMax, const MEDFileMesh *mesh, int renumPol=0) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int iteration, int order, const MEDCouplingMesh *mesh, int renumPol=0) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldAtLevelOld (TypeOfField type, const char *mname, int iteration, int order, int meshDimRelToMax, int renumPol=0) const throw (INTERP_KERNEL::Exception)
DataArrayDoublegetFieldWithProfile (TypeOfField type, int iteration, int order, int meshDimRelToMax, const MEDFileMesh *mesh, DataArrayInt *&pfl) const throw (INTERP_KERNEL::Exception)
void appendFieldNoProfileSBT (const MEDCouplingFieldDouble *field) throw (INTERP_KERNEL::Exception)
void appendFieldProfile (const MEDCouplingFieldDouble *field, const MEDFileMesh *mesh, int meshDimRelToMax, const DataArrayInt *profile) throw (INTERP_KERNEL::Exception)
- Public Member Functions inherited from ParaMEDMEM::MEDFileFieldMultiTSWithoutDAS
int getNumberOfTS () const
std::vector< std::pair< int,
int > > 
getIterations () const
int getNonEmptyLevels (int iteration, int order, const char *mname, std::vector< int > &levs) const throw (INTERP_KERNEL::Exception)
std::vector< std::vector
< TypeOfField > > 
getTypesOfFieldAvailable () const throw (INTERP_KERNEL::Exception)
std::vector< std::vector
< std::pair< int, int > > > 
getFieldSplitedByType (int iteration, int order, const char *mname, std::vector< INTERP_KERNEL::NormalizedCellType > &types, std::vector< std::vector< TypeOfField > > &typesF, std::vector< std::vector< std::string > > &pfls, std::vector< std::vector< std::string > > &locs) const throw (INTERP_KERNEL::Exception)
std::vector< std::vector
< DataArrayDouble * > > 
getFieldSplitedByType2 (int iteration, int order, const char *mname, std::vector< INTERP_KERNEL::NormalizedCellType > &types, std::vector< std::vector< TypeOfField > > &typesF, std::vector< std::vector< std::string > > &pfls, std::vector< std::vector< std::string > > &locs) const throw (INTERP_KERNEL::Exception)
std::string getName () const
void simpleRepr (int bkOffset, std::ostream &oss, int fmtsId) const
std::vector< std::pair< int,
int > > 
getTimeSteps (std::vector< double > &ret1) const throw (INTERP_KERNEL::Exception)
std::string getMeshName () const throw (INTERP_KERNEL::Exception)
const std::vector< std::string > & getInfo () const throw (INTERP_KERNEL::Exception)
DataArrayDoublegetUndergroundDataArray (int iteration, int order) const throw (INTERP_KERNEL::Exception)
DataArrayDoublegetUndergroundDataArrayExt (int iteration, int order, std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< int, int > > > &entries) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > getPflsReallyUsed2 () const
std::vector< std::string > getLocsReallyUsed2 () const
std::vector< std::string > getPflsReallyUsedMulti2 () const
std::vector< std::string > getLocsReallyUsedMulti2 () const
void changePflsRefsNamesGen2 (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changeLocsRefsNamesGen2 (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
- Public Member Functions inherited from ParaMEDMEM::RefCountObject
bool decrRef () const
void incrRef () const
- Public Member Functions inherited from ParaMEDMEM::MEDFieldFieldGlobsReal
 MEDFieldFieldGlobsReal (const char *fname)
 MEDFieldFieldGlobsReal ()
void simpleRepr (std::ostream &oss) const
void shallowCpyGlobs (const MEDFieldFieldGlobsReal &other)
void appendGlobs (const MEDFieldFieldGlobsReal &other, double eps) throw (INTERP_KERNEL::Exception)
virtual std::vector< std::string > getPflsReallyUsed () const =0
virtual std::vector< std::string > getLocsReallyUsed () const =0
virtual std::vector< std::string > getPflsReallyUsedMulti () const =0
virtual std::vector< std::string > getLocsReallyUsedMulti () const =0
virtual void changePflsRefsNamesGen (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)=0 throw (INTERP_KERNEL::Exception)
virtual void changeLocsRefsNamesGen (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)=0 throw (INTERP_KERNEL::Exception)
virtual ~MEDFieldFieldGlobsReal ()
void loadProfileInFile (med_idt fid, int id, const char *pflName) throw (INTERP_KERNEL::Exception)
void loadProfileInFile (med_idt fid, int id)
void loadGlobals (med_idt fid) throw (INTERP_KERNEL::Exception)
void loadAllGlobals (med_idt fid) throw (INTERP_KERNEL::Exception)
void writeGlobals (med_idt fid, const MEDFileWritable &opt) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > getPfls () const
std::vector< std::string > getLocs () const
bool existsPfl (const char *pflName) const
bool existsLoc (const char *locName) const
std::vector< std::vector< int > > whichAreEqualProfiles () const
std::vector< std::vector< int > > whichAreEqualLocs (double eps) const
void setFileName (const char *fileName)
void changePflsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changeLocsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changePflsNames (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changeLocsNames (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changePflName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception)
void changeLocName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception)
std::vector< std::pair
< std::vector< std::string >
, std::string > > 
zipPflsNames () throw (INTERP_KERNEL::Exception)
std::vector< std::pair
< std::vector< std::string >
, std::string > > 
zipLocsNames (double eps) throw (INTERP_KERNEL::Exception)
int getNbOfGaussPtPerCell (int locId) const throw (INTERP_KERNEL::Exception)
int getLocalizationId (const char *loc) const throw (INTERP_KERNEL::Exception)
const char * getFileName () const
std::string getFileName2 () const
const MEDFileFieldLoc & getLocalizationFromId (int locId) const throw (INTERP_KERNEL::Exception)
const MEDFileFieldLoc & getLocalization (const char *locName) const throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & getLocalizationFromId (int locId) throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & getLocalization (const char *locName) throw (INTERP_KERNEL::Exception)
const DataArrayIntgetProfile (const char *pflName) const throw (INTERP_KERNEL::Exception)
const DataArrayIntgetProfileFromId (int pflId) const throw (INTERP_KERNEL::Exception)
DataArrayIntgetProfile (const char *pflName) throw (INTERP_KERNEL::Exception)
DataArrayIntgetProfileFromId (int pflId) throw (INTERP_KERNEL::Exception)
void killProfileIds (const std::vector< int > &pflIds) throw (INTERP_KERNEL::Exception)
void killLocalizationIds (const std::vector< int > &locIds) throw (INTERP_KERNEL::Exception)
void appendProfile (DataArrayInt *pfl) throw (INTERP_KERNEL::Exception)
void appendLoc (const char *locName, INTERP_KERNEL::NormalizedCellType geoType, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &w) throw (INTERP_KERNEL::Exception)

Static Public Member Functions

static MEDFileFieldMultiTSNew ()
static MEDFileFieldMultiTSNew (const char *fileName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static MEDFileFieldMultiTSNew (const MEDFileFieldMultiTSWithoutDAS &other)
- Static Public Member Functions inherited from ParaMEDMEM::MEDFileFieldMultiTSWithoutDAS
static
MEDFileFieldMultiTSWithoutDAS
New (med_idt fid, const char *fieldName, int id, int ft, const std::vector< std::string > &infos, int nbOfStep) throw (INTERP_KERNEL::Exception)

Additional Inherited Members

- Protected Member Functions inherited from ParaMEDMEM::MEDFileFieldMultiTSWithoutDAS
const MEDFileField1TSWithoutDASgetTimeStepEntry (int iteration, int order) const throw (INTERP_KERNEL::Exception)
MEDFileField1TSWithoutDASgetTimeStepEntry (int iteration, int order) throw (INTERP_KERNEL::Exception)
std::string getDtUnit () const throw (INTERP_KERNEL::Exception)
 MEDFileFieldMultiTSWithoutDAS ()
 MEDFileFieldMultiTSWithoutDAS (const char *fieldName)
 MEDFileFieldMultiTSWithoutDAS (med_idt fid, const char *fieldName, int id, int ft, const std::vector< std::string > &infos, int nbOfStep) throw (INTERP_KERNEL::Exception)
void finishLoading (med_idt fid, int nbPdt) throw (INTERP_KERNEL::Exception)
void copyTinyInfoFrom (const MEDCouplingFieldDouble *field) throw (INTERP_KERNEL::Exception)
void checkCoherencyOfTinyInfo (const MEDCouplingFieldDouble *field) const throw (INTERP_KERNEL::Exception)
- Protected Attributes inherited from ParaMEDMEM::MEDFileFieldMultiTSWithoutDAS
std::string _name
std::vector< std::string > _infos
int _field_type
std::vector
< MEDCouplingAutoRefCountObjectPtr
< MEDFileField1TSWithoutDAS > > 
_time_steps
- Protected Attributes inherited from ParaMEDMEM::MEDFieldFieldGlobsReal
MEDCouplingAutoRefCountObjectPtr
< MEDFieldFieldGlobs > 
_globals

Detailed Description

User class.

Member Function Documentation

MEDFileFieldMultiTS * MEDFileFieldMultiTS::New ( )
static
MEDFileFieldMultiTS * MEDFileFieldMultiTS::New ( const char *  fileName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception)
static
MEDFileFieldMultiTS * MEDFileFieldMultiTS::New ( const MEDFileFieldMultiTSWithoutDAS other)
static
std::string MEDFileFieldMultiTS::simpleRepr ( ) const
void MEDFileFieldMultiTS::write ( const char *  fileName,
int  mode 
) const throw (INTERP_KERNEL::Exception)
void MEDFileFieldMultiTS::writeLL ( med_idt  fid) const throw (INTERP_KERNEL::Exception)
virtual
MEDCouplingFieldDouble * MEDFileFieldMultiTS::getFieldAtLevel ( TypeOfField  type,
int  iteration,
int  order,
int  meshDimRelToMax,
int  renumPol = 0 
) const throw (INTERP_KERNEL::Exception)

Performs the job than MEDFileField1TS::getFieldAtLevel except that (iteration,order) couple should be specified ! If such couple does not exist an exception is thrown.

References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldAtLevel().

MEDCouplingFieldDouble * MEDFileFieldMultiTS::getFieldAtTopLevel ( TypeOfField  type,
int  iteration,
int  order,
int  renumPol = 0 
) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDFileFieldMultiTS::getFieldOnMeshAtLevel ( TypeOfField  type,
int  iteration,
int  order,
int  meshDimRelToMax,
const MEDFileMesh mesh,
int  renumPol = 0 
) const throw (INTERP_KERNEL::Exception)

Performs the job than MEDFileField1TS::getFieldOnMeshAtLevel except that (iteration,order) couple should be specified ! If such couple does not exist an exception is thrown.

References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldOnMeshAtLevel().

MEDCouplingFieldDouble * MEDFileFieldMultiTS::getFieldOnMeshAtLevel ( TypeOfField  type,
int  iteration,
int  order,
const MEDCouplingMesh mesh,
int  renumPol = 0 
) const throw (INTERP_KERNEL::Exception)

Performs the job than MEDFileField1TS::getFieldOnMeshAtLevel except that (iteration,order) couple should be specified ! If such couple does not exist an exception is thrown.

References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldOnMeshAtLevel().

MEDCouplingFieldDouble * MEDFileFieldMultiTS::getFieldAtLevelOld ( TypeOfField  type,
const char *  mname,
int  iteration,
int  order,
int  meshDimRelToMax,
int  renumPol = 0 
) const throw (INTERP_KERNEL::Exception)

This method has a close behaviour than MEDFileFieldMultiTS::getFieldAtLevel. This method is called 'old' because the user should give the mesh name he wants to use for it's field. This method is useful for MED2 file format when field on different mesh was autorized.

References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldAtLevel().

DataArrayDouble * MEDFileFieldMultiTS::getFieldWithProfile ( TypeOfField  type,
int  iteration,
int  order,
int  meshDimRelToMax,
const MEDFileMesh mesh,
DataArrayInt *&  pfl 
) const throw (INTERP_KERNEL::Exception)
void MEDFileFieldMultiTS::appendFieldNoProfileSBT ( const MEDCouplingFieldDouble field) throw (INTERP_KERNEL::Exception)
void MEDFileFieldMultiTS::appendFieldProfile ( const MEDCouplingFieldDouble field,
const MEDFileMesh mesh,
int  meshDimRelToMax,
const DataArrayInt profile 
) throw (INTERP_KERNEL::Exception)
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS