XC Open source finite element analysis program
MEDCellBaseInfo.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 //MEDCellBaseInfo.h
23 
24 #ifndef MEDCELLBASEINFO_H
25 #define MEDCELLBASEINFO_H
26 
27 #include "MEDBaseInfo.h"
28 #include "xc_basic/src/med_xc/MEDMEM_Meshing.hxx"
29 #include "xc_basic/src/med_xc/MEDMEM_Support.hxx"
30 #include "MEDMapNumCeldasPorTipo.h"
31 #include <map>
32 
33 namespace XC {
34 class ID;
35 
37 //
40  {
41  protected:
43  public:
44  size_t getNumberOfElements(void) const;
45  void new_cell(size_t i,const MED_EN::medGeometryElement &);
46 
47  const MEDMapNumCeldasPorTipo &getMapCellTypes(void) const;
48  void to_support_med(MEDMEM::SUPPORT &supp) const;
49  void to_med_mesh(MEDMEM::MESHING &) const;
50  };
51 } // end of XC namespace
52 #endif
void to_support_med(MEDMEM::SUPPORT &supp) const
Vuelca la las celdas en un objeto SUPPORT de MEDMEM.
Definition: MEDCellBaseInfo.cc:42
MEDMapNumCeldasPorTipo cell_types
Type and number of elements for each of those types.
Definition: MEDCellBaseInfo.h:42
void new_cell(size_t i, const MED_EN::medGeometryElement &)
Adds cell connectivity.
Definition: MEDCellBaseInfo.cc:32
Number of cells de cada tipo.
Definition: MEDMapNumCeldasPorTipo.h:36
size_t getNumberOfElements(void) const
Returns the number of elements.
Definition: MEDCellBaseInfo.cc:28
Base class for infomation objects.
Definition: MEDBaseInfo.h:37
void to_med_mesh(MEDMEM::MESHING &) const
Dumps information on MED mesh.
Definition: MEDCellBaseInfo.cc:53
Basic information about mesh cells.
Definition: MEDCellBaseInfo.h:39
================================================================================
Definition: ContinuaReprComponent.h:34