XC Open source finite element analysis program
FiberSection3d.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 /* ****************************************************************** **
28 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** Developed by: **
41 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
42 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
43 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
44 ** **
45 ** ****************************************************************** */
46 
47 // $Revision: 1.8 $
48 // $Date: 2003/02/25 23:33:34 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/fiber_section/FiberSection3d.h,v $
50 
51 // Written: fmk
52 // Created: 04/01
53 //
54 // Description: This file contains the class definition for
55 // FiberSection3d.h. FiberSection3d provides the abstraction of a
56 // 3d beam section discretized by fibers. The section stiffness and
57 // stress resultants are obtained by summing fiber contributions.
58 
59 #ifndef FiberSection3d_h
60 #define FiberSection3d_h
61 
62 #include <material/section/fiber_section/FiberSection3dBase.h>
63 
64 namespace XC {
65 class MaterialLoader;
66 class FiberSectionRepr;
67 
69 //
73  {
74  private:
75 
76  friend class StoFibras;
77  protected:
78 
79  FiberSection3d(int tag, int classTag, MaterialLoader *mat_ldr= nullptr);
80  public:
81  FiberSection3d(MaterialLoader *mat_ldr= nullptr);
82  FiberSection3d(int tag,MaterialLoader *mat_ldr= nullptr);
83  FiberSection3d(int tag,const contenedor_fibras &fibers,MaterialLoader *mat_ldr= nullptr);
84 
85  virtual void setupFibers(void);
86  Fiber *addFiber(Fiber &theFiber);
87 
88  int setInitialSectionDeformation(const Vector &deforms);
89  int setTrialSectionDeformation(const Vector &deforms);
90 
91  const Matrix &getInitialTangent(void) const;
92 
93  int revertToLastCommit(void);
94  int revertToStart(void);
95 
96  SectionForceDeformation *getCopy(void) const;
97  const ResponseId &getType(void) const;
98  int getOrder(void) const;
99 
100  int sendSelf(CommParameters &);
101  int recvSelf(const CommParameters &);
102  void Print(std::ostream &s, int flag = 0);
103 
104  };
105 
106 FiberSection3d FiberSectionReprToFiberSection3d(const int &tag,const FiberSectionRepr &fiberSectionRepr);
107 
108 } // end of XC namespace
109 
110 #endif
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: FiberSection3d.cpp:120
int revertToStart(void)
Returns to the initial state.
Definition: FiberSection3d.cpp:138
std::list< Fiber * > contenedor_fibras
Contenedor de fibras.
Definition: contenedor_fibras.h:36
Definition: Vector.h:82
Base class for fiber sections on three-dimensional problems.
Definition: FiberSection3dBase.h:73
Fiber * addFiber(Fiber &theFiber)
Adds a fiber to the section.
Definition: FiberSection3d.cpp:97
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
const Matrix & getInitialTangent(void) const
Return the tangent stiffness matrix inicial.
Definition: FiberSection3d.cpp:116
Fiber section representation.
Definition: FiberSectionRepr.h:78
FiberSection3d(int tag, int classTag, MaterialLoader *mat_ldr=nullptr)
Constructor (se usa en FiberSectionShear3d).
Definition: FiberSection3d.cpp:72
Definition: Matrix.h:82
int setTrialSectionDeformation(const Vector &deforms)
Establece los valores de las trial strains.
Definition: FiberSection3d.cpp:109
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
const ResponseId & getType(void) const
Returns the tipo.
Definition: FiberSection3d.cpp:124
Material handler (definition, searching,...).
Definition: MaterialLoader.h:45
Section fiber.
Definition: Fiber.h:89
Base class for force deformation section models. Constitutive equations of the section.
Definition: SectionForceDeformation.h:86
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: FiberSection3d.cpp:155
Communication parameters between processes.
Definition: CommParameters.h:65
int setInitialSectionDeformation(const Vector &deforms)
Sets values for initial generalized strains.
Definition: FiberSection3d.cpp:102
int revertToLastCommit(void)
Returns to the last commited state.
Definition: FiberSection3d.cpp:131
================================================================================
Definition: ContinuaReprComponent.h:34