XC Open source finite element analysis program
MEDCellInfo.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 //MEDCellInfo.h
23 
24 #ifndef MEDCELLINFO_H
25 #define MEDCELLINFO_H
26 
27 #include "MEDCellBaseInfo.h"
28 #include "MEDMapConectividad.h"
29 
30 namespace XC {
31 class Mesh;
32 class ID;
33 
35 //
38  {
39  private:
40  MEDMapConectividad med_cell_connectivity;
41  public:
42  MEDCellInfo(void);
43  MEDCellInfo(const Mesh &,const MEDMapIndices &);
44 
45  void nueva_celda(size_t i,const MED_EN::medGeometryElement &,const ID &,const MEDMapIndices &);
46 
47  void to_med(MEDMEM::MESHING &) const;
48  };
49 } // end of XC namespace
50 #endif
MEDCellInfo(void)
Constructor.
Definition: MEDCellInfo.cc:33
Finite element mesh.
Definition: Mesh.h:64
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
Basic information about mesh cells.
Definition: MEDCellBaseInfo.h:39
void to_med(MEDMEM::MESHING &) const
Dumps cells definition on MED mesh.
Definition: MEDCellInfo.cc:58
================================================================================
Definition: ContinuaReprComponent.h:34
Information about mesh cells (conectivity,...).
Definition: MEDCellInfo.h:37
void nueva_celda(size_t i, const MED_EN::medGeometryElement &, const ID &, const MEDMapIndices &)
Adds cell connectivity.
Definition: MEDCellInfo.cc:51