1 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // File : VISU_DatConvertor.hxx
6 // Author : Alexey PETROV
9 #ifndef MEDA_Algorithm_HeaderFile
10 #define MEDA_Algorithm_HeaderFile
12 #include "MEDA_Structures.hxx"
13 #include "MEDA_Wrapper.hxx"
19 using namespace boost;
22 //---------------------------------------------------------------
23 typedef set<PCellInfo> TCellSet;
24 typedef map<med_entite_maillage,TCellSet> TCellGroup;
26 TCellGroup GetCellsByEntity(TWrapper& theWrapper,
27 const PMeshInfo& theMeshInfo,
28 const MED::TEntityInfo theEntityInfo);
31 //---------------------------------------------------------------
32 typedef set<PFamilyInfo> TFamilyGroup;
34 TFamilyGroup GetFamilies(TWrapper& theWrapper,
35 const PMeshInfo& theMeshInfo);
38 //---------------------------------------------------------------
39 typedef map<med_entite_maillage,TFamilyGroup> TFamilyByEntity;
41 TFamilyByEntity GetFamiliesByEntity(TWrapper& theWrapper,
42 const PNodeInfo& theNodeInfo,
43 const TCellGroup& theCellGroup,
44 const TFamilyGroup& theFamilyGroup);
47 //---------------------------------------------------------------
48 typedef map<string,TFamilyGroup> TGroupInfo;
50 TGroupInfo GetFamiliesByGroup(const TFamilyGroup& theGroupInfo);
53 //---------------------------------------------------------------
54 typedef set<PTimeStampInfo> TTimeStampSet;
55 typedef map<PFieldInfo,TTimeStampSet> TTimeStampGroup;
57 TTimeStampGroup GetFieldsByEntity(TWrapper& theWrapper,
58 const PMeshInfo& theMeshInfo,
59 const MED::TEntityInfo theEntityInfo);
62 //---------------------------------------------------------------
63 typedef map<med_entite_maillage,TTimeStampGroup> TFieldGroup;
65 TFieldGroup GetFieldsByEntity(const TTimeStampGroup& theTimeStampGroup);