xc
ElasticSection1d.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/ElasticSection1d.h,v $
51 
52 
54 // File: ~/Src/element/hinge/ElasticSection1d.h
55 //
56 // Written by Matthew Peavy
57 //
58 // Written: Feb 13, 2000
59 // Debugged: Feb 14, 2000
60 // Revised: May 2000 -- MHS
61 //
62 //
63 // Purpose: This header file contains the prototype
64 // for the ElasticSection1d class.
65 
66 #ifndef ElasticSection1d_h
67 #define ElasticSection1d_h
68 
69 #include <material/section/elastic_section/BaseElasticSection1d.h>
70 
71 namespace XC {
72 class Channel;
73 class FEM_ObjectBroker;
74 class Information;
75 
77 //
84  {
85  private:
86  static Vector s;
87  public:
88  ElasticSection1d(int tag= 0, double E= 0.0, double A=0.0);
89  ElasticSection1d(int tag, double EA);
90  ElasticSection1d(int tag, MaterialHandler *mat_ldr= nullptr);
91 
92  double getStress(void) const;
93  const Vector &getStressResultant(void) const;
94  const Matrix &getSectionTangent(void) const;
95  const Matrix &getInitialTangent(void) const;
96  const Matrix &getSectionFlexibility(void) const;
97  const Matrix &getInitialFlexibility(void) const;
98 
99  SectionForceDeformation *getCopy(void) const;
100  const ResponseId &getResponseType(void) const;
101  int getOrder(void) const;
102 
103  int sendSelf(Communicator &);
104  int recvSelf(const Communicator &);
105 
106 
107  void Print(std::ostream &s, int flag =0) const;
108  };
109 } // end of XC namespace
110 
111 #endif
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
Float vector abstraction.
Definition: Vector.h:94
Cross section with linear elastic material for bi-dimensional problems (3 degrees of freedom in each ...
Definition: ElasticSection1d.h:83
Communication parameters between processes.
Definition: Communicator.h:66
int getOrder(void) const
Return 3.
Definition: ElasticSection1d.cpp:147
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticSection1d.cpp:127
const Matrix & getSectionTangent(void) const
Returns the tangent stiffness matrix.
Definition: ElasticSection1d.cpp:100
const Matrix & getInitialTangent(void) const
Returns the initial tangent stiffness matrix.
Definition: ElasticSection1d.cpp:105
const Matrix & getSectionFlexibility(void) const
Returns the flexibility matrix.
Definition: ElasticSection1d.cpp:119
const Matrix & getInitialFlexibility(void) const
Returns the initial flexibility matrix.
Definition: ElasticSection1d.cpp:123
const Vector & getStressResultant(void) const
Returns the cross-section stress resultant.
Definition: ElasticSection1d.cpp:82
Base class for cross sections with linear elastic material on a bi-dimensional problem (3 DOFs on eac...
Definition: BaseElasticSection1d.h:43
ElasticSection1d(int tag=0, double E=0.0, double A=0.0)
To construct an ElasticSection1D with an integer identifier {tag}, an elastic modulus of ...
Definition: ElasticSection1d.cpp:52
Stiffness material contribution response identifiers.
Definition: ResponseId.h:61
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: ElasticSection1d.cpp:166
Material handler (definition, searching,...).
Definition: MaterialHandler.h:46
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: ElasticSection1d.cpp:151
const ResponseId & getResponseType(void) const
Section stiffness contribution response identifiers.
Definition: ElasticSection1d.cpp:143
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: ElasticSection1d.cpp:187