Public Member Functions | |
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) |
virtual void | writeLL (med_idt fid) 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) |
DataArrayDouble * | getUndergroundDataArray (int iteration, int order) const throw (INTERP_KERNEL::Exception) |
DataArrayDouble * | getUndergroundDataArrayExt (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) |
![]() | |
bool | decrRef () const |
void | incrRef () const |
Static Public Member Functions | |
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) |
Protected Member Functions | |
const MEDFileField1TSWithoutDAS & | getTimeStepEntry (int iteration, int order) const throw (INTERP_KERNEL::Exception) |
MEDFileField1TSWithoutDAS & | getTimeStepEntry (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) |
![]() | |
RefCountObject () | |
RefCountObject (const RefCountObject &other) | |
virtual | ~RefCountObject () |
Protected Attributes | |
std::string | _name |
std::vector< std::string > | _infos |
int | _field_type |
std::vector < MEDCouplingAutoRefCountObjectPtr < MEDFileField1TSWithoutDAS > > | _time_steps |
|
protected |
|
protected |
|
protected |
|
static |
int MEDFileFieldMultiTSWithoutDAS::getNumberOfTS | ( | ) | const |
References _time_steps.
std::vector< std::pair< int, int > > MEDFileFieldMultiTSWithoutDAS::getIterations | ( | ) | const |
References _time_steps.
int MEDFileFieldMultiTSWithoutDAS::getNonEmptyLevels | ( | int | iteration, |
int | order, | ||
const char * | mname, | ||
std::vector< int > & | levs | ||
) | const throw (INTERP_KERNEL::Exception) |
This method has 3 inputs 'iteration' 'order' 'mname'. 'mname' can be null if the user is the general case where there is only one meshName lying on 'this' This method returns two things.
This method is designed for MEDFileFieldMultiTS instances that have a discritization ON_CELLS, ON_GAUSS_NE and ON_GAUSS. Only these 3 discretizations will be taken into account here.
If 'this' is empty this method will throw an INTERP_KERNEL::Exception. If there is only node fields defined in 'this' -1 is returned and 'levs' output parameter will be empty. In this case the caller has to know the underlying mesh it refers to. By defaut it is the level 0 of the corresponding mesh.
This method is usefull to make the link between meshDimension of the underlying mesh in 'this' and the levels on 'this'. It is possible (even if it is not common) that the highest level in 'this' were not equal to the meshDimension of the underlying mesh in 'this'.
Let's consider the typical following case :
In this case f1->getNonEmptyLevelsExt will return (3,[0,-2]) and f2->getNonEmptyLevelsExt will return (2,[0,-1])
To retrieve the highest level of f1 it should be done, f1->getFieldAtLevel(ON_CELLS,3-3+0);//absDim-meshDim+relativeLev To retrieve the lowest level of f1 it should be done, f1->getFieldAtLevel(ON_CELLS,3-3+(-2));//absDim-meshDim+relativeLev To retrieve the highest level of f2 it should be done, f1->getFieldAtLevel(ON_CELLS,2-3+0);//absDim-meshDim+relativeLev To retrieve the lowest level of f2 it should be done, f1->getFieldAtLevel(ON_CELLS,2-3+(-1));//absDim-meshDim+relativeLev
std::vector< std::vector< TypeOfField > > MEDFileFieldMultiTSWithoutDAS::getTypesOfFieldAvailable | ( | ) | const throw (INTERP_KERNEL::Exception) |
References _time_steps.
std::vector< std::vector< std::pair< int, int > > > MEDFileFieldMultiTSWithoutDAS::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) |
entry point for users that want to iterate into MEDFile DataStructure without any overhead.
References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldSplitedByType(), and getTimeStepEntry().
std::vector< std::vector< DataArrayDouble * > > MEDFileFieldMultiTSWithoutDAS::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) |
entry point for users that want to iterate into MEDFile DataStructure with a reduced overhead because output arrays are extracted (created) specially for the call of this method. That's why the DataArrayDouble instance in returned vector of vector should be dealed by the caller.
References ParaMEDMEM::MEDFileField1TSWithoutDAS::getFieldSplitedByType2(), and getTimeStepEntry().
|
virtual |
Reimplemented in ParaMEDMEM::MEDFileFieldMultiTS.
Referenced by ParaMEDMEM::MEDFileFieldMultiTS::writeLL(), and ParaMEDMEM::MEDFileFields::writeLL().
std::string MEDFileFieldMultiTSWithoutDAS::getName | ( | ) | const |
References _name.
Referenced by ParaMEDMEM::MEDFileFields::getFieldsNames(), and ParaMEDMEM::MEDFileFields::simpleRepr().
void MEDFileFieldMultiTSWithoutDAS::simpleRepr | ( | int | bkOffset, |
std::ostream & | oss, | ||
int | fmtsId | ||
) | const |
References _infos, _name, _time_steps, and ParaMEDMEM::MEDFileField1TSWithoutDAS::simpleRepr().
Referenced by ParaMEDMEM::MEDFileFields::simpleRepr().
std::vector< std::pair< int, int > > MEDFileFieldMultiTSWithoutDAS::getTimeSteps | ( | std::vector< double > & | ret1 | ) | const throw (INTERP_KERNEL::Exception) |
References ParaMEDMEM::MEDFileField1TSWithoutDAS::getTime().
std::string MEDFileFieldMultiTSWithoutDAS::getMeshName | ( | ) | const throw (INTERP_KERNEL::Exception) |
References _time_steps.
const std::vector< std::string > & MEDFileFieldMultiTSWithoutDAS::getInfo | ( | ) | const throw (INTERP_KERNEL::Exception) |
References _time_steps.
DataArrayDouble * MEDFileFieldMultiTSWithoutDAS::getUndergroundDataArray | ( | int | iteration, |
int | order | ||
) | const throw (INTERP_KERNEL::Exception) |
DataArrayDouble * MEDFileFieldMultiTSWithoutDAS::getUndergroundDataArrayExt | ( | 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 > MEDFileFieldMultiTSWithoutDAS::getPflsReallyUsed2 | ( | ) | const |
References _time_steps.
std::vector< std::string > MEDFileFieldMultiTSWithoutDAS::getLocsReallyUsed2 | ( | ) | const |
References _time_steps.
std::vector< std::string > MEDFileFieldMultiTSWithoutDAS::getPflsReallyUsedMulti2 | ( | ) | const |
References _time_steps.
std::vector< std::string > MEDFileFieldMultiTSWithoutDAS::getLocsReallyUsedMulti2 | ( | ) | const |
References _time_steps.
void MEDFileFieldMultiTSWithoutDAS::changePflsRefsNamesGen2 | ( | const std::vector< std::pair< std::vector< std::string >, std::string > > & | mapOfModif | ) | throw (INTERP_KERNEL::Exception) |
References _time_steps.
void MEDFileFieldMultiTSWithoutDAS::changeLocsRefsNamesGen2 | ( | const std::vector< std::pair< std::vector< std::string >, std::string > > & | mapOfModif | ) | throw (INTERP_KERNEL::Exception) |
References _time_steps.
|
protected |
Referenced by getFieldSplitedByType(), getFieldSplitedByType2(), and getUndergroundDataArrayExt().
|
protected |
|
protected |
References _time_steps.
|
protected |
|
protected |
References ParaMEDMEM::DataArray::getInfoOnComponents().
|
protected |
References ParaMEDMEM::DataArray::getInfoOnComponents().
|
protected |
Referenced by getName(), and simpleRepr().
|
protected |
Referenced by simpleRepr().
|
mutableprotected |
only useable on reading. 0 is for float, 1 for int32, 2 for int64
|
protected |