XC Open source finite element analysis program
ElasticShearSection2d.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.3 $
48 // $Date: 2008/08/26 16:49:19 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/ElasticShearSection2d.h,v $
50 
51 #ifndef ElasticShearSection2d_h
52 #define ElasticShearSection2d_h
53 
54 #include "BaseElasticSection2d.h"
55 #include <utility/matrix/Vector.h>
56 
57 namespace XC {
58 
59 class Parameter;
60 class Information;
61 class ResponseId;
62 
64 //
68  {
69  private:
70 
71  static Vector s;
72  int parameterID;
73  protected:
74  int sendData(CommParameters &);
75  int recvData(const CommParameters &);
76  public:
77  //ElasticShearSection2d(int tag, double E, double A, double I,double G, double alpha);
79  ElasticShearSection2d(int tag,MaterialLoader *mat_ldr= nullptr);
80 
81  const Vector &getStressResultant(void) const;
82  const Matrix &getSectionTangent(void) const;
83  const Matrix &getInitialTangent(void) const;
84  const Matrix &getSectionFlexibility(void) const;
85  const Matrix &getInitialFlexibility(void) const;
86 
87  SectionForceDeformation *getCopy(void) const;
88  const ResponseId &getType(void) const;
89  int getOrder(void) const;
90 
91  int sendSelf(CommParameters &);
92  int recvSelf(const CommParameters &);
93 
94  int setParameter(const std::vector<std::string> &argv, Parameter &param);
95  int updateParameter(int parameterID, Information &info);
96  int activateParameter(int parameterID);
97  const Vector& getStressResultantSensitivity(int gradIndex,bool conditional);
98  const Matrix& getInitialTangentSensitivity(int gradIndex);
99  };
100 
101 } // end of XC namespace
102 
103 #endif
Definition: Vector.h:82
const Matrix & getSectionFlexibility(void) const
Returns the tangent flexibility matrix of the section.
Definition: ElasticShearSection2d.cpp:84
Base class for cross sections with linear elastic material on a bi-dimensional problem (3 DOFs on eac...
Definition: BaseElasticSection2d.h:42
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: ElasticShearSection2d.cpp:101
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: ElasticShearSection2d.cpp:109
Information about an element.
Definition: Information.h:80
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
const Matrix & getInitialFlexibility(void) const
Returns the initial flexibility matrix of the section.
Definition: ElasticShearSection2d.cpp:87
Base clas for cross sections with linear elastic material with shear stiffness on a bi-dimensional sp...
Definition: ElasticShearSection2d.h:67
Definition: Matrix.h:82
Material handler (definition, searching,...).
Definition: MaterialLoader.h:45
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticShearSection2d.cpp:91
Definition: Parameter.h:65
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