xc
ElasticSection3d.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 /* ****************************************************************** **
29 ** OpenSees - Open System for Earthquake Engineering Simulation **
30 ** Pacific Earthquake Engineering Research Center **
31 ** **
32 ** **
33 ** (C) Copyright 1999, The Regents of the University of California **
34 ** All Rights Reserved. **
35 ** **
36 ** Commercial use of this program without express permission of the **
37 ** University of California, Berkeley, is strictly prohibited. See **
38 ** file 'COPYRIGHT' in main directory for information on usage and **
39 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
40 ** **
41 ** Developed by: **
42 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
43 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
44 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
45 ** **
46 ** ****************************************************************** */
47 
48 // $Revision: 1.6 $
49 // $Date: 2003/02/14 23:01:33 $
50 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/fiber_section/ElasticSection3d.h,v $
51 
52 
54 // File: ~/Src/element/hinge/ElasticSection3d.h
55 //
56 // Written: MHS
57 // Date: May 2000
58 //
59 //
60 // Purpose: This header file contains the prototype
61 // for the ElasticSection class.
62 
63 #ifndef ElasticSection3d_h
64 #define ElasticSection3d_h
65 
66 #include <material/section/elastic_section/BaseElasticSection3d.h>
67 #include <utility/matrix/Matrix.h>
68 
69 namespace XC {
70 class Channel;
71 class FEM_ObjectBroker;
72 class Information;
73 
75 //
82  {
83  private:
84  static Vector s;
85  public:
86  ElasticSection3d(int tag, MaterialHandler *mat_ldr= nullptr, const CrossSectionProperties3d &ctes= CrossSectionProperties3d());
87  ElasticSection3d(int tag, double E, double A, double Iz, double Iy, double G, double J);
88  ElasticSection3d(int tag, double EA, double EIz, double EIy, double GJ);
89  ElasticSection3d(void);
90 
91  const Vector &getStressResultant(void) const;
92  const Matrix &getSectionTangent(void) const;
93  const Matrix &getInitialTangent(void) const;
94  const Matrix &getSectionFlexibility(void) const;
95  const Matrix &getInitialFlexibility(void) const;
96 
97  SectionForceDeformation *getCopy(void) const;
98  const ResponseId &getResponseType(void) const;
99  int getOrder(void) const;
100 
101  virtual DbTagData &getDbTagData(void) const;
102  virtual int sendSelf(Communicator &);
103  virtual int recvSelf(const Communicator &);
104 
105  void Print(std::ostream &s, int flag = 0) const;
106  };
107 } // end of XC namespace
108 
109 #endif
const Matrix & getInitialFlexibility(void) const
Returns the initial flexibility matrix.
Definition: ElasticSection3d.cpp:171
Base class for force deformation section models.
Definition: SectionForceDeformation.h:88
virtual const double & EA(void) const
Returns the section axial stiffness.
Definition: PrismaticBarCrossSection.cc:145
Mechanical (E, G) and mass properties of a section (area, moments of inertia,...) in a three-dimensio...
Definition: CrossSectionProperties3d.h:42
Float vector abstraction.
Definition: Vector.h:94
Communication parameters between processes.
Definition: Communicator.h:66
virtual const double & EIy(void) const
Returns the bending stiffness of the cross-section with respect to eht y axis.
Definition: BaseElasticSection3d.cc:116
const Vector & getStressResultant(void) const
Returns the stress resultant.
Definition: ElasticSection3d.cpp:116
virtual int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: ElasticSection3d.cpp:231
void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: ElasticSection3d.cpp:253
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
virtual int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: ElasticSection3d.cpp:215
const Matrix & getSectionFlexibility(void) const
Returns the flexibility matrix.
Definition: ElasticSection3d.cpp:167
int getOrder(void) const
Return 4.
Definition: ElasticSection3d.cpp:203
Cross section with linear elastic material in three-dimensional problems (6 degrees of freedom in eac...
Definition: ElasticSection3d.h:81
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticSection3d.cpp:175
const ResponseId & getResponseType(void) const
Response identifiers for section stiffness contribution.
Definition: ElasticSection3d.cpp:199
const Matrix & getSectionTangent(void) const
Returns the tangent stiffness matrix.
Definition: ElasticSection3d.cpp:143
Stiffness material contribution response identifiers.
Definition: ResponseId.h:61
const Matrix & getInitialTangent(void) const
Returns the initial tangent stiffness matrix.
Definition: ElasticSection3d.cpp:147
Base class for cross sections with linear elastic material on a three-dimensional problem (6 DOFs on ...
Definition: BaseElasticSection3d.h:64
Material handler (definition, searching,...).
Definition: MaterialHandler.h:46
virtual DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: ElasticSection3d.cpp:208
virtual const double & EIz(void) const
Returns the bending stiffness of the cross-section around the z axis.
Definition: BaseElasticSection3d.cc:109
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
virtual const double & GJ(void) const
Returns the torsional stiffness.
Definition: BaseElasticSection3d.cc:130
ElasticSection3d(void)
Constructor.
Definition: ElasticSection3d.cpp:80