Back to index

salome-med  6.5.0
Public Member Functions | Public Attributes
MapGeoEdge Class Reference
Inheritance diagram for MapGeoEdge:
Inheritance graph
[legend]
Collaboration diagram for MapGeoEdge:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MapGeoEdge ()
 ~MapGeoEdge ()

Public Attributes

keys
 STL member.
elements
 STL member.

Detailed Description

Definition at line 1034 of file MEDMEM_Extractor.cxx.


Constructor & Destructor Documentation

Definition at line 1041 of file MEDMEM_Extractor.cxx.

{
  std::vector<TEdge> *edges=(*this)[MED_TRIA3]=(*this)[MED_TRIA6]=new vector<TEdge>();
  edges->reserve( 3 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 0 ));
  edges=(*this)[MED_QUAD4]=(*this)[MED_QUAD8]=new vector<TEdge>();
  edges->reserve( 4 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 3 ));
  edges->push_back( TEdge( 3, 0 ));
  edges=(*this)[MED_TETRA4]=(*this)[MED_TETRA10]=new vector<TEdge>();
  edges->reserve( 6 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 0 ));
  edges->push_back( TEdge( 0, 3 ));
  edges->push_back( TEdge( 1, 3 ));
  edges->push_back( TEdge( 2, 3 ));
  edges=(*this)[MED_HEXA8]=(*this)[MED_HEXA20]=new vector<TEdge>();
  edges->reserve( 12 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 3 ));
  edges->push_back( TEdge( 3, 0 ));
  edges->push_back( TEdge( 4, 5 ));
  edges->push_back( TEdge( 5, 6 ));
  edges->push_back( TEdge( 6, 7 ));
  edges->push_back( TEdge( 7, 4 ));
  edges->push_back( TEdge( 0, 4 ));
  edges->push_back( TEdge( 1, 5 ));
  edges->push_back( TEdge( 2, 6 ));
  edges->push_back( TEdge( 3, 7 ));
  edges=(*this)[MED_PYRA5]=(*this)[MED_PYRA13]=new vector<TEdge>();
  edges->reserve( 8 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 3 ));
  edges->push_back( TEdge( 3, 0 ));
  edges->push_back( TEdge( 0, 4 ));
  edges->push_back( TEdge( 1, 4 ));
  edges->push_back( TEdge( 2, 4 ));
  edges->push_back( TEdge( 3, 4 ));
  edges=(*this)[MED_PENTA6]=(*this)[MED_PENTA15]=new vector<TEdge>();
  edges->reserve( 9 );
  edges->push_back( TEdge( 0, 1 ));
  edges->push_back( TEdge( 1, 2 ));
  edges->push_back( TEdge( 2, 0 ));
  edges->push_back( TEdge( 3, 4 ));
  edges->push_back( TEdge( 4, 5 ));
  edges->push_back( TEdge( 5, 3 ));
  edges->push_back( TEdge( 0, 4 ));
  edges->push_back( TEdge( 1, 5 ));
  edges->push_back( TEdge( 2, 3 ));
  (*this)[MED_NONE]         = 0;
  (*this)[MED_POINT1]       = 0;
  (*this)[MED_SEG2]         = 0;
  (*this)[MED_SEG3]         = 0;
  (*this)[MED_POLYGON]      = 0;
  (*this)[MED_POLYHEDRA]    = 0;
  (*this)[MED_ALL_ELEMENTS] = 0;
}

Definition at line 1106 of file MEDMEM_Extractor.cxx.

{
  delete (*this)[MED_TRIA6];
  delete (*this)[MED_QUAD8];
  delete (*this)[MED_TETRA10];
  delete (*this)[MED_HEXA20];
  delete (*this)[MED_PYRA13];
  delete (*this)[MED_PENTA15];
}

Member Data Documentation

template<typename K, typename T>
T std::map< K, T >::elements [inherited]

STL member.

template<typename K, typename T>
K std::map< K, T >::keys [inherited]

STL member.


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