xc
HingeBeamIntegration3d.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 //HingeBeamIntegration3d.h
28 
29 #ifndef HingeBeamIntegration3d_h
30 #define HingeBeamIntegration3d_h
31 
32 #include "PlasticLengthsBeamIntegration.h"
33 #include "material/section/repres/CrossSectionProperties3d.h"
34 
35 namespace XC {
36 class FVector;
37 
39 //
42  {
43  protected:
45 
46  int sendData(CommParameters &);
47  int recvData(const CommParameters &);
48  public:
49  HingeBeamIntegration3d(int classTag, double E, double A, double Iz,double Iy, double G, double J,double lpI, double lpJ);
50  HingeBeamIntegration3d(int classTag, const CrossSectionProperties3d &cts= CrossSectionProperties3d(),const double &lpi=0.0,const double &lpj=0.0);
51 
52  void addElasticDeformations(ElementalLoad *theLoad,double loadFactor,double L,FVector &v0);
53 
54  int setParameter(const std::vector<std::string> &argv, Parameter &param);
55  int updateParameter(int parameterID, Information &info);
56  int activateParameter(int parameterID);
57 
58  int sendSelf(CommParameters &);
59  int recvSelf(const CommParameters &);
60 
61  void Print(std::ostream &s, int flag = 0);
62  };
63 } // end of XC namespace
64 
65 #endif
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: HingeBeamIntegration3d.cc:90
Mechanical (E, G) and mass properties of a section (area, moments of inertia,...) in a three-dimensio...
Definition: CrossSectionProperties3d.h:40
Element internal forces.
Definition: FVector.h:44
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: HingeBeamIntegration3d.cc:106
Information about an element.
Definition: Information.h:80
int setParameter(const std::vector< std::string > &argv, Parameter &param)
Sets the value param to the parameter argv.
Definition: HingeBeamIntegration3d.cc:51
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: HingeBeamIntegration3d.cc:120
int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: HingeBeamIntegration3d.cc:83
CrossSectionProperties3d ctes_scc
Mechanical properties of the section E,A,Iy,...
Definition: HingeBeamIntegration3d.h:44
void Print(std::ostream &s, int flag=0)
Print stuff.
Definition: HingeBeamIntegration3d.cc:139
int updateParameter(int parameterID, Information &info)
Updates the parameter identified by parameterID with info.
Definition: HingeBeamIntegration3d.cc:65
??.
Definition: PlasticLengthsBeamIntegration.h:39
??.
Definition: HingeBeamIntegration3d.h:41
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Definition: Parameter.h:65
Base class for loads over elements.
Definition: ElementalLoad.h:77
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: HingeBeamIntegration3d.cc:98