]> SALOME platform Git repositories - modules/kernel.git/blob - src/MEDWrapper/MEDA_Algorithm.hxx
Salome HOME
DCQ : Merge with Ecole_ete_a6.
[modules/kernel.git] / src / MEDWrapper / MEDA_Algorithm.hxx
1 //  Copyright (C) 2003  CEA/DEN, EDF R&D
2 //
3 //
4 //
5 //  File   : VISU_DatConvertor.hxx
6 //  Author : Alexey PETROV
7 //  Module : VISU
8
9 #ifndef MEDA_Algorithm_HeaderFile
10 #define MEDA_Algorithm_HeaderFile
11
12 #include "MEDA_Structures.hxx"
13 #include "MEDA_Wrapper.hxx"
14
15 #include <set>
16
17 namespace MEDA{
18   using namespace std;
19   using namespace boost;
20
21
22   //---------------------------------------------------------------
23   typedef set<PCellInfo> TCellSet;
24   typedef map<med_entite_maillage,TCellSet> TCellGroup;
25
26   TCellGroup GetCellsByEntity(TWrapper& theWrapper, 
27                               const PMeshInfo& theMeshInfo,
28                               const MED::TEntityInfo theEntityInfo);
29
30
31   //---------------------------------------------------------------
32   typedef set<PFamilyInfo> TFamilyGroup;
33
34   TFamilyGroup GetFamilies(TWrapper& theWrapper, 
35                            const PMeshInfo& theMeshInfo);
36
37
38   //---------------------------------------------------------------
39   typedef map<med_entite_maillage,TFamilyGroup> TFamilyByEntity;
40   
41   TFamilyByEntity GetFamiliesByEntity(TWrapper& theWrapper, 
42                                       const PNodeInfo& theNodeInfo, 
43                                       const TCellGroup& theCellGroup,
44                                       const TFamilyGroup& theFamilyGroup);
45
46
47   //---------------------------------------------------------------
48   typedef map<string,TFamilyGroup> TGroupInfo;
49   
50   TGroupInfo GetFamiliesByGroup(const TFamilyGroup& theGroupInfo);
51
52
53   //---------------------------------------------------------------
54   typedef set<PTimeStampInfo> TTimeStampSet;
55   typedef map<PFieldInfo,TTimeStampSet> TTimeStampGroup;
56
57   TTimeStampGroup GetFieldsByEntity(TWrapper& theWrapper, 
58                                     const PMeshInfo& theMeshInfo,
59                                     const MED::TEntityInfo theEntityInfo);
60
61
62   //---------------------------------------------------------------
63   typedef map<med_entite_maillage,TTimeStampGroup> TFieldGroup;
64
65   TFieldGroup GetFieldsByEntity(const TTimeStampGroup& theTimeStampGroup);
66
67 };
68
69 #endif