XC Open source finite element analysis program
ElasticShearSection3d.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/ElasticShearSection3d.h,v $
50 
51 #ifndef ElasticShearSection3d_h
52 #define ElasticShearSection3d_h
53 
54 #include <material/section/elastic_section/BaseElasticSection3d.h>
55 
56 namespace XC {
57 class Channel;
58 class FEM_ObjectBroker;
59 class Information;
60 class Parameter;
61 
63 //
68  {
69  private:
70 
71  static Vector s;
72  static Matrix ks;
73 
74  int parameterID;
75  protected:
76  int sendData(CommParameters &);
77  int recvData(const CommParameters &);
78  public:
79  ElasticShearSection3d(int tag, MaterialLoader *mat_ldr= nullptr);
81 
82  const char *getClassType(void) const {return "ElasticShearSection3d";};
83 
84  const Vector &getStressResultant(void) const;
85  const Matrix &getSectionTangent(void) const;
86  const Matrix &getInitialTangent(void) const;
87  const Matrix &getSectionFlexibility(void) const;
88  const Matrix &getInitialFlexibility(void) const;
89 
90  SectionForceDeformation *getCopy(void) const;
91  const ResponseId &getType(void) const;
92  int getOrder(void) const;
93 
94  int sendSelf(CommParameters &);
95  int recvSelf(const CommParameters &);
96 
97  void Print(std::ostream &s, int flag = 0) const;
98 
99  int setParameter(const std::vector<std::string> &argv, Parameter &param);
100  int updateParameter(int parameterID, Information &info);
101  int activateParameter(int parameterID);
102  const Vector& getStressResultantSensitivity(int gradIndex,bool conditional);
103  const Matrix& getInitialTangentSensitivity(int gradIndex);
104  };
105 } // end of XC namespace
106 
107 #endif
Base class for cross sections with linear elastic material and shear stiffness on a three-dimensional...
Definition: ElasticShearSection3d.h:67
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: ElasticShearSection3d.cpp:112
Definition: Vector.h:82
const Matrix & getInitialFlexibility(void) const
Returns the initial flexibility matrix of the section.
Definition: ElasticShearSection3d.cpp:91
const Matrix & getSectionFlexibility(void) const
Returns the tangent flexibility matrix of the section.
Definition: ElasticShearSection3d.cpp:88
Information about an element.
Definition: Information.h:80
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: ElasticShearSection3d.cpp:104
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
Definition: Matrix.h:82
SectionForceDeformation * getCopy(void) const
Virtual constructor.
Definition: ElasticShearSection3d.cpp:94
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
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