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