Back to index

salome-med  6.5.0
Public Member Functions | Protected Member Functions | Protected Attributes
MEDMEM::MED_FIELD_DRIVER< T > Class Template Reference

Driver Med for FIELD. More...

#include <MEDMEM_MedFieldDriver.hxx>

Inheritance diagram for MEDMEM::MED_FIELD_DRIVER< T >:
Inheritance graph
[legend]
Collaboration diagram for MEDMEM::MED_FIELD_DRIVER< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MED_FIELD_DRIVER ()
template<class INTERLACING_TAG >
 MED_FIELD_DRIVER (const std::string &fileName, FIELD< T, INTERLACING_TAG > *ptrField, MED_EN::med_mode_acces accessMode)
 MED_FIELD_DRIVER (const MED_FIELD_DRIVER &fieldDriver)
virtual ~MED_FIELD_DRIVER ()
virtual void open () throw (MEDEXCEPTION)
virtual void close ()
virtual void write (void) const =0
virtual void read (void)=0
virtual void setFieldName (const std::string &fieldName)
 Set the name of the FIELD asked in file.
virtual std::string getFieldName () const
 Get the name of the FIELD asked in file.

Protected Member Functions

virtual GENDRIVER * copy (void) const =0
bool createFieldSupportPart1 (med_2_3::med_idt id, const std::string &fieldName, med_2_3::med_int ndt, med_2_3::med_int od, SUPPORT &support, std::string &meshName, std::vector< int > &numberOfElementsOfTypeC, std::vector< int > &numberOfGaussPoint, std::vector< std::string > &gaussModelName, std::vector< std::string > &profilName, int &totalNumberOfElWg, MED_EN::medEntityMesh &fieldMedFileEntity, MED_EN::medEntityMesh preferEntity=MED_EN::MED_ALL_ENTITIES) const throw (MEDEXCEPTION)
void getMeshGeometricTypeFromFile (med_2_3::med_idt id, std::string &meshName, MED_EN::medEntityMesh entite, std::vector< MED_EN::medGeometryElement > &geoType, std::vector< int > &nbOfElOfType, std::vector< int > &nbOfElOfTypeC) const throw (MEDEXCEPTION)
void getMeshGeometricTypeFromMESH (const GMESH *meshPtr, MED_EN::medEntityMesh entity, std::vector< MED_EN::medGeometryElement > &geoType, std::vector< int > &nbOfElOfType, std::vector< int > &nbOfElOfTypeC) const throw (MEDEXCEPTION)
int getMeshDimensionFromFile (med_2_3::med_idt id, const string &meshName) const
MED_EN::medEntityMesh getMEDMEMEntityFromMEDType (MED_EN::medGeometryElement type, int mesh_dim) const

Protected Attributes

FIELD< T > * _ptrField
std::string _fieldName
int _fieldNum
med_2_3::med_idt _medIdt

Detailed Description

template<class T>
class MEDMEM::MED_FIELD_DRIVER< T >

Driver Med for FIELD.

Generic part : implement open and close methods.

Definition at line 41 of file MEDMEM_MedFieldDriver.hxx.


Constructor & Destructor Documentation

template<class T >
MEDMEM::MED_FIELD_DRIVER< T >::MED_FIELD_DRIVER ( )
template<class T >
template<class INTERLACING_TAG >
MEDMEM::MED_FIELD_DRIVER< T >::MED_FIELD_DRIVER ( const std::string &  fileName,
FIELD< T, INTERLACING_TAG > *  ptrField,
MED_EN::med_mode_acces  accessMode 
)
template<class T >
MEDMEM::MED_FIELD_DRIVER< T >::MED_FIELD_DRIVER ( const MED_FIELD_DRIVER< T > &  fieldDriver)
template<class T >
virtual MEDMEM::MED_FIELD_DRIVER< T >::~MED_FIELD_DRIVER ( ) [virtual]

Member Function Documentation

template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::close ( ) [virtual]

Here is the caller graph for this function:

template<class T >
virtual GENDRIVER* MEDMEM::MED_FIELD_DRIVER< T >::copy ( void  ) const [protected, pure virtual]
template<class T >
bool MEDMEM::MED_FIELD_DRIVER< T >::createFieldSupportPart1 ( med_2_3::med_idt  id,
const std::string &  fieldName,
med_2_3::med_int  ndt,
med_2_3::med_int  od,
SUPPORT &  support,
std::string &  meshName,
std::vector< int > &  numberOfElementsOfTypeC,
std::vector< int > &  numberOfGaussPoint,
std::vector< std::string > &  gaussModelName,
std::vector< std::string > &  profilName,
int &  totalNumberOfElWg,
MED_EN::medEntityMesh fieldMedFileEntity,
MED_EN::medEntityMesh  preferEntity = MED_EN::MED_ALL_ENTITIES 
) const throw (MEDEXCEPTION) [protected]
template<class T >
virtual std::string MEDMEM::MED_FIELD_DRIVER< T >::getFieldName ( ) const [inline, virtual]

Get the name of the FIELD asked in file.

Definition at line 83 of file MEDMEM_MedFieldDriver.hxx.

{ return _fieldName; }
template<class T >
MED_EN::medEntityMesh MEDMEM::MED_FIELD_DRIVER< T >::getMEDMEMEntityFromMEDType ( MED_EN::medGeometryElement  type,
int  mesh_dim 
) const [protected]
template<class T >
int MEDMEM::MED_FIELD_DRIVER< T >::getMeshDimensionFromFile ( med_2_3::med_idt  id,
const string &  meshName 
) const [protected]
template<class T >
void MEDMEM::MED_FIELD_DRIVER< T >::getMeshGeometricTypeFromFile ( med_2_3::med_idt  id,
std::string &  meshName,
MED_EN::medEntityMesh  entite,
std::vector< MED_EN::medGeometryElement > &  geoType,
std::vector< int > &  nbOfElOfType,
std::vector< int > &  nbOfElOfTypeC 
) const throw (MEDEXCEPTION) [protected]
template<class T >
void MEDMEM::MED_FIELD_DRIVER< T >::getMeshGeometricTypeFromMESH ( const GMESH *  meshPtr,
MED_EN::medEntityMesh  entity,
std::vector< MED_EN::medGeometryElement > &  geoType,
std::vector< int > &  nbOfElOfType,
std::vector< int > &  nbOfElOfTypeC 
) const throw (MEDEXCEPTION) [protected]
template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::open ( ) throw (MEDEXCEPTION) [virtual]

Here is the caller graph for this function:

template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::read ( void  ) [pure virtual]
template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::setFieldName ( const std::string &  fieldName) [inline, virtual]

Set the name of the FIELD asked in file.

It could be different than the name of the FIELD object.

Definition at line 79 of file MEDMEM_MedFieldDriver.hxx.

Here is the caller graph for this function:

template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::write ( void  ) const [pure virtual]

Member Data Documentation

template<class T >
std::string MEDMEM::MED_FIELD_DRIVER< T >::_fieldName [protected]

Definition at line 53 of file MEDMEM_MedFieldDriver.hxx.

template<class T >
int MEDMEM::MED_FIELD_DRIVER< T >::_fieldNum [protected]

Definition at line 54 of file MEDMEM_MedFieldDriver.hxx.

template<class T >
med_2_3::med_idt MEDMEM::MED_FIELD_DRIVER< T >::_medIdt [protected]

Definition at line 55 of file MEDMEM_MedFieldDriver.hxx.

template<class T >
FIELD<T>* MEDMEM::MED_FIELD_DRIVER< T >::_ptrField [protected]

Definition at line 52 of file MEDMEM_MedFieldDriver.hxx.


The documentation for this class was generated from the following file: