XC Open source finite element analysis program
ElasticSection3d.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.6 $
48 // $Date: 2003/02/14 23:01:33 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/fiber_section/ElasticSection3d.h,v $
50 
51 
53 // File: ~/Src/element/hinge/ElasticSection3d.h
54 //
55 // Written: MHS
56 // Date: May 2000
57 //
58 //
59 // Purpose: This header file contains the prototype
60 // for the ElasticSection class.
61 
62 #ifndef ElasticSection3d_h
63 #define ElasticSection3d_h
64 
65 #include <material/section/elastic_section/BaseElasticSection3d.h>
66 #include <utility/matrix/Matrix.h>
67 
68 namespace XC {
69 class Channel;
70 class FEM_ObjectBroker;
71 class Information;
72 
74 //
78  {
79  private:
80  static Vector s;
81  protected:
82 
83  public:
84  ElasticSection3d(int tag, MaterialLoader *mat_ldr= nullptr, const CrossSectionProperties3d &ctes= CrossSectionProperties3d());
85  ElasticSection3d(int tag, double E, double A, double Iz, double Iy, double G, double J);
86  ElasticSection3d(int tag, double EA, double EIz, double EIy, double GJ);
87  ElasticSection3d(void);
88 
89  const Vector &getStressResultant(void) const;
90  const Matrix &getSectionTangent(void) const;
91  const Matrix &getInitialTangent(void) const;
92  const Matrix &getSectionFlexibility(void) const;
93  const Matrix &getInitialFlexibility(void) const;
94 
95  SectionForceDeformation *getCopy(void) const;
96  const ResponseId &getType(void) const;
97  int getOrder(void) const;
98 
99  virtual int sendSelf(CommParameters &);
100  virtual int recvSelf(const CommParameters &);
101 
102 
103  void Print (std::ostream &s, int flag = 0) const;
104  };
105 } // end of XC namespace
106 
107 #endif
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticSection3d.cpp:117
const Matrix & getInitialFlexibility(void) const
Returns the flexibility matrix en el estado inicial.
Definition: ElasticSection3d.cpp:113
const Matrix & getSectionFlexibility(void) const
Returns the flexibility matrix.
Definition: ElasticSection3d.cpp:109
const ResponseId & getType(void) const
Response identifiers for section stiffness contribution.
Definition: ElasticSection3d.cpp:121
Definition: Vector.h:82
ElasticSection3d(void)
Constructor.
Definition: ElasticSection3d.cpp:77
const double & EIz(void) const
Returns the bending stiffness of the cross-section en torno al eje z.
Definition: SeccionBarraPrismatica.cc:140
Mechanical properties of a section (area, moments of inertia,...) in a three-dimensional problem (six...
Definition: CrossSectionProperties3d.h:40
void Print(std::ostream &s, int flag=0) const
Imprime.
Definition: ElasticSection3d.cpp:161
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: ElasticSection3d.cpp:128
const Vector & getStressResultant(void) const
Returns the valor de la resultante de tensiones.
Definition: ElasticSection3d.cpp:90
Cross section with linear elastic material in three-dimensional problems (6 degrees of freedom in eac...
Definition: ElasticSection3d.h:77
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: ElasticSection3d.cpp:142
Definition: Matrix.h:82
const Matrix & getInitialTangent(void) const
Returns the tangent stiffness matrix en el estado inicial.
Definition: ElasticSection3d.cpp:105
Material handler (definition, searching,...).
Definition: MaterialLoader.h:45
Base class for cross sections with linear elastic material on a three-dimensional problem (6 DOFs on ...
Definition: BaseElasticSection3d.h:42
Base class for force deformation section models. Constitutive equations of the section.
Definition: SectionForceDeformation.h:86
Communication parameters between processes.
Definition: CommParameters.h:65
const Matrix & getSectionTangent(void) const
Returns the tangent stiffness matrix.
Definition: ElasticSection3d.cpp:101
================================================================================
Definition: ContinuaReprComponent.h:34
const double & EIy(void) const
Returns the bending stiffness of the cross-section en torno al eje y.
Definition: SeccionBarraPrismatica.cc:143
const double & EA(void) const
Returns the section axial stiffness.
Definition: SeccionBarraPrismatica.cc:137