XC Open source finite element analysis program
RgSccPoligono.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 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 //RgSccPoligono.h
28 
29 #ifndef RgSccPoligono_h
30 #define RgSccPoligono_h
31 
32 #include <material/section/repres/geom_section/region/RgQuadCell.h>
33 #include "utility/matrix/Matrix.h"
34 #include "xc_utils/src/geom/d2/poligonos2d/Poligono2d.h"
35 
36 class Poligono2d;
37 
38 namespace XC {
39 
41 //
44  {
45  private:
46  Poligono2d plg;
47  protected:
48 
49  public:
51  RgSccPoligono(Material *, int numSubdivIJ, int numSubdivJK, const Poligono2d &);
52 
53  const Rejilla2d &getMesh(void) const;
54  const VectorCells &getCells(void) const;
55  RegionSecc *getCopy(void) const;
56 
57  double getMaxY(void) const;
58  double getMaxZ(void) const;
59  double getMinY(void) const;
60  double getMinZ(void) const;
61  Poligono2d getPoligono(void) const;
62 
63 
64  void Print(std::ostream &s, int flag =0) const;
65  friend std::ostream &operator<<(std::ostream &s, RgSccPoligono &rg_scc_plg);
66  };
67 } // end of XC namespace
68 
69 
70 #endif
71 
72 
Cells vector.
Definition: VectorCells.h:42
Base class for materials.
Definition: Material.h:85
RegionSecc * getCopy(void) const
Returns a copy of the region.
Definition: RgSccPoligono.cc:74
Definition: RgSccPoligono.h:43
Region of a section that corresponds with a material.
Definition: RegionSecc.h:57
Region of a section that creates quadrilateral cells.
Definition: RgQuadCell.h:50
================================================================================
Definition: ContinuaReprComponent.h:34
const VectorCells & getCells(void) const
Returns the contenedor de celdas.
Definition: RgSccPoligono.cc:67