Back to index

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

Driver Med for FIELD : Write only. More...

#include <MEDMEM_MedFieldDriver.hxx>

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

List of all members.

Public Member Functions

 MED_FIELD_WRONLY_DRIVER ()
template<class INTERLACING_TAG >
 MED_FIELD_WRONLY_DRIVER (const string &fileName, FIELD< T, INTERLACING_TAG > *ptrField)
 MED_FIELD_WRONLY_DRIVER (const MED_FIELD_WRONLY_DRIVER &fieldDriver)
virtual ~MED_FIELD_WRONLY_DRIVER ()
void write (void) const throw (MEDEXCEPTION)
 Write FIELD in the specified file.
void read (void) throw (MEDEXCEPTION)
 Return a MEDEXCEPTION : it is the write-only driver.
virtual void open () throw (MEDEXCEPTION)
virtual void close ()
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

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

Private Member Functions

GENDRIVER * copy (void) const

Detailed Description

template<class T>
class MEDMEM::MED_FIELD_WRONLY_DRIVER< T >

Driver Med for FIELD : Write only.

Implement write method.

Definition at line 163 of file MEDMEM_MedFieldDriver.hxx.


Constructor & Destructor Documentation

template<class T>
template<class INTERLACING_TAG >
MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::MED_FIELD_WRONLY_DRIVER ( const string &  fileName,
FIELD< T, INTERLACING_TAG > *  ptrField 
)
template<class T>
MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::MED_FIELD_WRONLY_DRIVER ( const MED_FIELD_WRONLY_DRIVER< T > &  fieldDriver)
template<class T>
virtual MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::~MED_FIELD_WRONLY_DRIVER ( ) [virtual]

Member Function Documentation

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

Here is the caller graph for this function:

template<class T>
GENDRIVER* MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::copy ( void  ) const [private, 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, inherited]
template<class T >
virtual std::string MEDMEM::MED_FIELD_DRIVER< T >::getFieldName ( ) const [inline, virtual, inherited]

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, inherited]
template<class T >
int MEDMEM::MED_FIELD_DRIVER< T >::getMeshDimensionFromFile ( med_2_3::med_idt  id,
const string &  meshName 
) const [protected, inherited]
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, inherited]
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, inherited]
template<class T >
virtual void MEDMEM::MED_FIELD_DRIVER< T >::open ( ) throw (MEDEXCEPTION) [virtual, inherited]

Here is the caller graph for this function:

template<class T>
void MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::read ( void  ) throw (MEDEXCEPTION) [virtual]

Return a MEDEXCEPTION : it is the write-only driver.

Implements MEDMEM::MED_FIELD_DRIVER< T >.

Reimplemented in MEDMEM::MED_FIELD_RDWR_DRIVER< T >.

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

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>
void MEDMEM::MED_FIELD_WRONLY_DRIVER< T >::write ( void  ) const throw (MEDEXCEPTION) [virtual]

Write FIELD in the specified file.

Implements MEDMEM::MED_FIELD_DRIVER< T >.

Reimplemented in MEDMEM::MED_FIELD_RDWR_DRIVER< T >.

Here is the caller graph for this function:


Member Data Documentation

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

Definition at line 53 of file MEDMEM_MedFieldDriver.hxx.

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

Definition at line 54 of file MEDMEM_MedFieldDriver.hxx.

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

Definition at line 55 of file MEDMEM_MedFieldDriver.hxx.

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

Definition at line 52 of file MEDMEM_MedFieldDriver.hxx.


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