XC Open source finite element analysis program
ElasticSection2d.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/ElasticSection2d.h,v $
50 
51 
53 // File: ~/Src/element/hinge/ElasticSection2d.h
54 //
55 // Written by Matthew Peavy
56 //
57 // Written: Feb 13, 2000
58 // Debugged: Feb 14, 2000
59 // Revised: May 2000 -- MHS
60 //
61 //
62 // Purpose: This header file contains the prototype
63 // for the ElasticSection2d class.
64 
65 #ifndef ElasticSection2d_h
66 #define ElasticSection2d_h
67 
68 #include <material/section/elastic_section/BaseElasticSection2d.h>
69 
70 namespace XC {
71 class Channel;
72 class FEM_ObjectBroker;
73 class Information;
74 
76 //
81  {
82  private:
83  static Vector s;
84  public:
85  ElasticSection2d(int tag, double E, double A, double I);
86  ElasticSection2d(int tag, double EA, double EI);
87  ElasticSection2d(int tag,MaterialLoader *mat_ldr= nullptr);
88  ElasticSection2d(void);
89 
90  const Vector &getStressResultant(void) const;
91  const Matrix &getSectionTangent(void) const;
92  const Matrix &getInitialTangent(void) const;
93  const Matrix &getSectionFlexibility(void) const;
94  const Matrix &getInitialFlexibility(void) const;
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 
103 
104  void Print(std::ostream &s, int flag =0) const;
105  };
106 } // end of XC namespace
107 
108 #endif
const Matrix & getSectionFlexibility(void) const
Returns the flexibility matrix.
Definition: ElasticSection2d.cpp:110
Definition: Vector.h:82
Base class for cross sections with linear elastic material on a bi-dimensional problem (3 DOFs on eac...
Definition: BaseElasticSection2d.h:42
const Vector & getStressResultant(void) const
Returns the cross-section stress resultant.
Definition: ElasticSection2d.cpp:92
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
const Matrix & getInitialTangent(void) const
Returns the initial tangent stiffness matrix.
Definition: ElasticSection2d.cpp:106
const Matrix & getInitialFlexibility(void) const
Returns the initial flexibility matrix.
Definition: ElasticSection2d.cpp:114
const Matrix & getSectionTangent(void) const
Returns the tangent stiffness matrix.
Definition: ElasticSection2d.cpp:101
Definition: Matrix.h:82
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticSection2d.cpp:118
Material handler (definition, searching,...).
Definition: MaterialLoader.h:45
const ResponseId & getType(void) const
Section stiffness contribution response identifiers.
Definition: ElasticSection2d.cpp:122
Base class for force deformation section models. Constitutive equations of the section.
Definition: SectionForceDeformation.h:86
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
const double & EA(void) const
Returns the section axial stiffness.
Definition: SeccionBarraPrismatica.cc:137
Cross section with linear elastic material for bi-dimensional problesm (3 degrees of freedom in each ...
Definition: ElasticSection2d.h:80