XC Open source finite element analysis program
StoFibras.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 //StoFibras.h
28 
29 #ifndef StoFibras_h
30 #define StoFibras_h
31 
32 #include "DqFibras.h"
33 #include <material/section/repres/section/contenedor_fibras.h>
34 
35 namespace XC {
36 
38 //
40 class StoFibras : public DqFibras
41  {
42  void libera(void);
43  void copia_fibras(const StoFibras &otro);
44  void copia_fibras(const contenedor_fibras &);
45 
46  public:
47  StoFibras(const size_t &num= 0);
48  StoFibras(const StoFibras &otro);
49  StoFibras &operator=(const StoFibras &otro);
50  void allocFibers(int numFibras,const Fiber *muestra= nullptr);
51  void setup(FiberSection2d &,const contenedor_fibras &,KRSeccion &);
52  void setup(FiberSection3d &,const contenedor_fibras &,KRSeccion &);
53  void setup(FiberSectionGJ &,const contenedor_fibras &,KRSeccion &);
54  ~StoFibras(void);
55  };
56 } // end of XC namespace
57 
58 #endif
std::list< Fiber * > contenedor_fibras
Contenedor de fibras.
Definition: contenedor_fibras.h:36
Fiber section model in a bi-dimensional space. Sections stiffness and internal forces are obtained by...
Definition: FiberSection2d.h:74
StoFibras(const size_t &num=0)
Default constructor.
Definition: StoFibras.cc:74
~StoFibras(void)
Destructor:
Definition: StoFibras.cc:135
Fiber section with torsional stiffness.
Definition: FiberSectionGJ.h:72
Contenedor de fibras.
Definition: DqFibras.h:66
Contenedor de fibras.
Definition: StoFibras.h:40
Fiber section model in a three-dimensional space. Sections stiffness and internal forces are obtained...
Definition: FiberSection3d.h:72
Section fiber.
Definition: Fiber.h:89
StoFibras & operator=(const StoFibras &otro)
Assignment operator.
Definition: StoFibras.cc:83
void allocFibers(int numFibras, const Fiber *muestra=nullptr)
Allocates memory for each fiber material and for its data; two (yLoc,Area) for 2D sections (getOrder(...
Definition: StoFibras.cc:37
================================================================================
Definition: ContinuaReprComponent.h:34
Stiffness matrix and resultant vector for a section.
Definition: KRSeccion.h:40