XC Open source finite element analysis program
MEDMapConectividad.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio PĂ©rez Tato
6 //
7 // XC is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program.
20 // If not, see <http://www.gnu.org/licenses/>.
21 //----------------------------------------------------------------------------
22 //MEDMapConectividad.h
23 
24 #ifndef MEDMAPCONECTIVIDAD_H
25 #define MEDMAPCONECTIVIDAD_H
26 
27 #include <map>
28 #include <vector>
29 #include "xc_basic/src/med_xc/MEDMEM_define.hxx"
30 
31 namespace XC {
32 class Mesh;
33 class ID;
34 class MEDMapIndices;
35 
37 //
40  {
41  public:
42  typedef std::map<int,std::vector<int> > map_connectivity;
43  typedef map_connectivity::iterator iterator;
44  typedef map_connectivity::const_iterator const_iterator;
45  private:
46  map_connectivity med_cell_connectivity;
47  std::vector<int> &getConnectivity(const int &);
48  public:
49 
50  void nueva_celda(const MED_EN::medGeometryElement &,const ID &,const MEDMapIndices &);
51 
52  const std::vector<int> &getConnectivity(const int &) const;
53  };
54 } // end of XC namespace
55 #endif
void nueva_celda(const MED_EN::medGeometryElement &, const ID &, const MEDMapIndices &)
Adds cell connectivity.
Definition: MEDMapConectividad.cc:30
Map between the indexes in XC and in MEDMEM.
Definition: MEDMapIndices.h:36
Definition: ID.h:77
Information about mesh cells connectivity.
Definition: MEDMapConectividad.h:39
================================================================================
Definition: ContinuaReprComponent.h:34