XC Open source finite element analysis program
MEDBaseInfo.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 //MEDBaseInfo.h
23 //Envoltorio para el objeto MESHING de MED (para exportar archivos a «salome»).
24 
25 #ifndef MEDBASEINFO_H
26 #define MEDBASEINFO_H
27 
28 #include "MEDObject.h"
29 #include "MEDMapIndices.h"
30 
31 namespace XC {
32 
33 class Mesh;
35 //
37 class MEDBaseInfo: public MEDObject
38  {
39  protected:
41  void new_tag(size_t tag);
42  public:
43  const MEDMapIndices &getMapIndices(void) const;
44  virtual void clear(void);
45  };
46 } // end of XC namespace
47 #endif
const MEDMapIndices & getMapIndices(void) const
Returns a const reference to the indices container.
Definition: MEDBaseInfo.cc:42
Base class for MED objects.
Definition: MEDObject.h:39
Map between the indexes in XC and in MEDMEM.
Definition: MEDMapIndices.h:36
Base class for infomation objects.
Definition: MEDBaseInfo.h:37
MEDMapIndices indices
Map between XC and MED indexes.
Definition: MEDBaseInfo.h:40
================================================================================
Definition: ContinuaReprComponent.h:34
virtual void clear(void)
Indices deletion.
Definition: MEDBaseInfo.cc:34
void new_tag(size_t tag)
Appends i to the indices.
Definition: MEDBaseInfo.cc:38