Back to index

salome-med  6.5.0
Functions | Variables
MED_Utilities.cxx File Reference
#include "MED_Utilities.hxx"
#include "MED_Common.hxx"

Go to the source code of this file.

Functions

bool InitEntity2GeomSet ()

Variables

static MED::TEntity2GeomSet Entity2GeomSet
static bool anIsInited = InitEntity2GeomSet()

Function Documentation

Definition at line 72 of file MED_Utilities.cxx.

{
  using namespace MED;

  TGeomSet& aGeomARETESet = Entity2GeomSet[eARETE];
  aGeomARETESet.insert(eSEG2);
  aGeomARETESet.insert(eSEG3);

  TGeomSet& aGeomFACESet = Entity2GeomSet[eFACE];
  aGeomFACESet.insert(eTRIA3);
  aGeomFACESet.insert(eQUAD4);
  aGeomFACESet.insert(eTRIA6);
  aGeomFACESet.insert(eQUAD8);
  aGeomFACESet.insert(eQUAD9);
  aGeomFACESet.insert(ePOLYGONE);

  TGeomSet& aGeomMAILLESet = Entity2GeomSet[eMAILLE];
  aGeomMAILLESet.insert(ePOINT1);
  aGeomMAILLESet.insert(aGeomARETESet.begin(),aGeomARETESet.end());
  aGeomMAILLESet.insert(aGeomFACESet.begin(),aGeomFACESet.end());
  aGeomMAILLESet.insert(eTETRA4);
  aGeomMAILLESet.insert(ePYRA5);
  aGeomMAILLESet.insert(ePENTA6);
  aGeomMAILLESet.insert(eHEXA8);
  aGeomMAILLESet.insert(eOCTA12);
  aGeomMAILLESet.insert(eTETRA10);
  aGeomMAILLESet.insert(ePYRA13);
  aGeomMAILLESet.insert(ePENTA15);
  aGeomMAILLESet.insert(eHEXA20);
  aGeomMAILLESet.insert(eHEXA27);
  aGeomMAILLESet.insert(ePOLYEDRE);
  
  return true;
}

Variable Documentation

bool anIsInited = InitEntity2GeomSet() [static]

Definition at line 107 of file MED_Utilities.cxx.

Definition at line 70 of file MED_Utilities.cxx.