Version: 6.5.0
Public Member Functions | Protected Attributes | List of all members
ParaMEDMEM::MEDFieldFieldGlobsReal Class Reference
Inheritance diagram for ParaMEDMEM::MEDFieldFieldGlobsReal:
Inheritance graph
[legend]

Public Member Functions

 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)

Protected Attributes

MEDCouplingAutoRefCountObjectPtr
< MEDFieldFieldGlobs > 
_globals

Constructor & Destructor Documentation

MEDFieldFieldGlobsReal::MEDFieldFieldGlobsReal ( const char *  fname)
MEDFieldFieldGlobsReal::MEDFieldFieldGlobsReal ( )
MEDFieldFieldGlobsReal::~MEDFieldFieldGlobsReal ( )
virtual

Member Function Documentation

void MEDFieldFieldGlobsReal::simpleRepr ( std::ostream &  oss) const

References _globals.

void MEDFieldFieldGlobsReal::shallowCpyGlobs ( const MEDFieldFieldGlobsReal other)

References _globals.

void MEDFieldFieldGlobsReal::appendGlobs ( const MEDFieldFieldGlobsReal other,
double  eps 
) throw (INTERP_KERNEL::Exception)
virtual std::vector<std::string> ParaMEDMEM::MEDFieldFieldGlobsReal::getPflsReallyUsed ( ) const
pure virtual
virtual std::vector<std::string> ParaMEDMEM::MEDFieldFieldGlobsReal::getLocsReallyUsed ( ) const
pure virtual
virtual std::vector<std::string> ParaMEDMEM::MEDFieldFieldGlobsReal::getPflsReallyUsedMulti ( ) const
pure virtual
virtual std::vector<std::string> ParaMEDMEM::MEDFieldFieldGlobsReal::getLocsReallyUsedMulti ( ) const
pure virtual
virtual void ParaMEDMEM::MEDFieldFieldGlobsReal::changePflsRefsNamesGen ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)
pure virtual

Referenced by changePflsNames(), and zipPflsNames().

virtual void ParaMEDMEM::MEDFieldFieldGlobsReal::changeLocsRefsNamesGen ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)
pure virtual

Referenced by changeLocsNames().

void MEDFieldFieldGlobsReal::loadProfileInFile ( med_idt  fid,
int  id,
const char *  pflName 
) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::loadProfileInFile ( med_idt  fid,
int  id 
)

References _globals.

void MEDFieldFieldGlobsReal::loadGlobals ( med_idt  fid) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::loadAllGlobals ( med_idt  fid) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::writeGlobals ( med_idt  fid,
const MEDFileWritable &  opt 
) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > MEDFieldFieldGlobsReal::getPfls ( ) const

References _globals.

std::vector< std::string > MEDFieldFieldGlobsReal::getLocs ( ) const

References _globals.

bool MEDFieldFieldGlobsReal::existsPfl ( const char *  pflName) const

References _globals.

bool MEDFieldFieldGlobsReal::existsLoc ( const char *  locName) const

References _globals.

std::vector< std::vector< int > > MEDFieldFieldGlobsReal::whichAreEqualProfiles ( ) const

References _globals.

Referenced by zipPflsNames().

std::vector< std::vector< int > > MEDFieldFieldGlobsReal::whichAreEqualLocs ( double  eps) const

References _globals.

void MEDFieldFieldGlobsReal::setFileName ( const char *  fileName)

References _globals.

void MEDFieldFieldGlobsReal::changePflsNamesInStruct ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)

References _globals.

Referenced by changePflsNames().

void MEDFieldFieldGlobsReal::changeLocsNamesInStruct ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)

References _globals.

Referenced by changeLocsNames().

void MEDFieldFieldGlobsReal::changePflsNames ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)

This method is a generalization of MEDFieldFieldGlobsReal::changePflName. This method contrary to abstract method MEDFieldFieldGlobsReal::changePflsRefsNamesGen updates in addition of MEDFieldFieldGlobsReal::changePflsRefsNamesGen, the profiles themselves and not only leaves of field.

References changePflsNamesInStruct(), and changePflsRefsNamesGen().

void MEDFieldFieldGlobsReal::changeLocsNames ( const std::vector< std::pair< std::vector< std::string >, std::string > > &  mapOfModif) throw (INTERP_KERNEL::Exception)

This method is a generalization of MEDFieldFieldGlobsReal::changePflName. This method contrary to abstract method MEDFieldFieldGlobsReal::changeLocsRefsNamesGen updates in addition of MEDFieldFieldGlobsReal::changeLocsRefsNamesGen, the localizations themselves and not only leaves of field.

References changeLocsNamesInStruct(), and changeLocsRefsNamesGen().

void MEDFieldFieldGlobsReal::changePflName ( const char *  oldName,
const char *  newName 
) throw (INTERP_KERNEL::Exception)

This method is a more friendly API but less general method than MEDFieldFieldGlobsReal::changePflsNames.

void MEDFieldFieldGlobsReal::changeLocName ( const char *  oldName,
const char *  newName 
) throw (INTERP_KERNEL::Exception)

This method is a more friendly API but less general method than MEDFieldFieldGlobsReal::changeLocsNames.

std::vector< std::pair< std::vector< std::string >, std::string > > MEDFieldFieldGlobsReal::zipPflsNames ( ) throw (INTERP_KERNEL::Exception)
std::vector< std::pair< std::vector< std::string >, std::string > > MEDFieldFieldGlobsReal::zipLocsNames ( double  eps) throw (INTERP_KERNEL::Exception)
int MEDFieldFieldGlobsReal::getNbOfGaussPtPerCell ( int  locId) const throw (INTERP_KERNEL::Exception)
int MEDFieldFieldGlobsReal::getLocalizationId ( const char *  loc) const throw (INTERP_KERNEL::Exception)
const char * MEDFieldFieldGlobsReal::getFileName ( ) const

References _globals.

std::string MEDFieldFieldGlobsReal::getFileName2 ( ) const

References _globals.

const MEDFileFieldLoc & MEDFieldFieldGlobsReal::getLocalizationFromId ( int  locId) const throw (INTERP_KERNEL::Exception)
const MEDFileFieldLoc & MEDFieldFieldGlobsReal::getLocalization ( const char *  locName) const throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & MEDFieldFieldGlobsReal::getLocalizationFromId ( int  locId) throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & MEDFieldFieldGlobsReal::getLocalization ( const char *  locName) throw (INTERP_KERNEL::Exception)
const DataArrayInt * MEDFieldFieldGlobsReal::getProfile ( const char *  pflName) const throw (INTERP_KERNEL::Exception)
const DataArrayInt * MEDFieldFieldGlobsReal::getProfileFromId ( int  pflId) const throw (INTERP_KERNEL::Exception)

Referenced by zipPflsNames().

DataArrayInt * MEDFieldFieldGlobsReal::getProfile ( const char *  pflName) throw (INTERP_KERNEL::Exception)
DataArrayInt * MEDFieldFieldGlobsReal::getProfileFromId ( int  pflId) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::killProfileIds ( const std::vector< int > &  pflIds) throw (INTERP_KERNEL::Exception)

Referenced by zipPflsNames().

void MEDFieldFieldGlobsReal::killLocalizationIds ( const std::vector< int > &  locIds) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::appendProfile ( DataArrayInt pfl) throw (INTERP_KERNEL::Exception)
void MEDFieldFieldGlobsReal::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)

Member Data Documentation

MEDCouplingAutoRefCountObjectPtr< MEDFieldFieldGlobs > ParaMEDMEM::MEDFieldFieldGlobsReal::_globals
protected
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