Version: 6.3.1
Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions

MEDMEM.PORFLOW_MESH_DRIVER Class Reference

#include <MEDMEM_PorflowMeshDriver.hxx>

Inheritance diagram for MEDMEM.PORFLOW_MESH_DRIVER:
Inheritance graph

Public Member Functions

 PORFLOW_MESH_DRIVER ()
 PORFLOW_MESH_DRIVER (const string &fileName, GMESH *ptrMesh, MED_EN::med_mode_acces accessMode)
 PORFLOW_MESH_DRIVER (const PORFLOW_MESH_DRIVER &driver)
virtual ~PORFLOW_MESH_DRIVER ()
void open () throw (MEDEXCEPTION)
void close () throw (MEDEXCEPTION)
virtual void write (void) const =0
virtual void read (void)=0
void setMeshName (const string &meshName)
string getMeshName () const

Protected Types

enum  { nb_geometrie_porflow = 6, nb_nodes_max = 8, nb_nodes2_max = 4, nb_faces_max = 6 }

Static Protected Member Functions

static int geomMEDtoPorflow (MED_EN::medGeometryElement medGeo)

Protected Attributes

MESH_ptrMesh
string _meshName
ifstream _porflow

Static Protected Attributes

static const
MED_EN::medGeometryElement 
geomPORFLOWtoMED [nb_geometrie_porflow]
static const int numPORFLOWtoMED [nb_geometrie_porflow][nb_nodes_max]
static const int connectivityPORFLOW [nb_geometrie_porflow][nb_faces_max][nb_nodes2_max]

Private Member Functions

virtual GENDRIVERcopy (void) const =0

Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
nb_geometrie_porflow 
nb_nodes_max 
nb_nodes2_max 
nb_faces_max 

Constructor & Destructor Documentation

PORFLOW_MESH_DRIVER::PORFLOW_MESH_DRIVER ( )

Constructor.

PORFLOW_MESH_DRIVER::PORFLOW_MESH_DRIVER ( const string &  fileName,
GMESH ptrMesh,
MED_EN::med_mode_acces  accessMode 
)
PORFLOW_MESH_DRIVER::PORFLOW_MESH_DRIVER ( const PORFLOW_MESH_DRIVER driver)
PORFLOW_MESH_DRIVER::~PORFLOW_MESH_DRIVER ( ) [virtual]

Member Function Documentation

int PORFLOW_MESH_DRIVER::geomMEDtoPorflow ( MED_EN::medGeometryElement  medGeo) [static, protected]
void PORFLOW_MESH_DRIVER::open ( void  ) throw (MEDEXCEPTION) [virtual]
void PORFLOW_MESH_DRIVER::close ( void  ) throw (MEDEXCEPTION) [virtual]
virtual void MEDMEM.PORFLOW_MESH_DRIVER.write ( void  ) const [pure virtual]
virtual void MEDMEM.PORFLOW_MESH_DRIVER.read ( void  ) [pure virtual]
void PORFLOW_MESH_DRIVER::setMeshName ( const string &  meshName) [virtual]

Set the name of the MESH asked in file.

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

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.PORFLOW_MESH_DRIVER._meshName, and Med_Gen_test.meshName.

string PORFLOW_MESH_DRIVER::getMeshName ( ) const [virtual]

Get the name of the MESH asked in file.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.PORFLOW_MESH_DRIVER._meshName.

virtual GENDRIVER* MEDMEM.PORFLOW_MESH_DRIVER.copy ( void  ) const [private, pure virtual]

Field Documentation

const int PORFLOW_MESH_DRIVER::numPORFLOWtoMED [static, protected]
Initial value:
 {
       {  1,  3,  2 },
       {  1,  4,  3,  2 },
       {  1,  4,  3,  2 },
       {  1,  4,  3,  2,  5 },
       {  1,  3,  2,  4,  6,  5 },
       {  1,  4,  3,  2,  5,  8,  7,  6 } }
const int PORFLOW_MESH_DRIVER::connectivityPORFLOW [static, protected]
Initial value:
{
  
  
    { {1,3,0,0}, {2,1,0,0}, {3,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0} },
    { {1,4,0,0}, {3,2,0,0}, {2,1,0,0}, {4,3,0,0}, {0,0,0,0}, {0,0,0,0} },
    { {1,3,4,0}, {1,4,2,0}, {4,3,2,0}, {1,2,3,0}, {0,0,0,0}, {0,0,0,0} },
    { {1,4,5,0}, {1,5,2,0}, {3,2,5,0}, {4,3,5,0}, {1,2,3,4}, {0,0,0,0} },
    { {1,3,6,4}, {2,1,4,5}, {3,2,5,6}, {1,2,3,0}, {4,6,5,0}, {0,0,0,0} },
    { {1,4,8,5}, {3,2,6,7}, {2,1,5,6}, {4,3,7,8}, {1,2,3,4}, {5,8,7,6} },
}
Copyright © 2007-2011 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