xc
Inelastic2DYS02.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 #ifndef Inelastic2DYS02_H
29 #define Inelastic2DYS02_H
30 
31 #include "domain/mesh/element/truss_beam_column/updatedLagrangianBeamColumn/InelasticYS2DGNL.h"
32 
33 namespace XC {
34 class CyclicModel;
35 
37 //
40  {
41  private:
42  // int cycType;
43  // double wT;
44  double A;
45  double E;
46  double Iz;
47  double resFactor;
48  double alfa, beta;
49  double delPmax;
50  double delPMaxPos, delPMaxNeg;
51  CyclicModel *cModel;
52  public:
53  Inelastic2DYS02(int tag, double A, double E, double Iz,
54  int Nd1, int Nd2,
55  YieldSurface_BC *ysEnd1, YieldSurface_BC *ysEnd2,
56  // int cyc_type, double wt,
57  CyclicModel *cycModel,
58  double del_p_max,
59  double Alpha, double Beta, int rf_algo=-1,
60  bool islinear=false, double rho=0.0);
61  Element *getCopy(void) const;
62  ~Inelastic2DYS02(void);
63  int commitState(void);
64  int update(void);
65 
66  protected:
67  void getLocalStiff(Matrix &K) const;
68  };
69 } // end of XC namespace
70 
71 #endif
72 
Updated Lagrangian inelastic element.
Definition: Inelastic2DYS02.h:39
int commitState(void)
Commit the current element state.
Definition: Inelastic2DYS02.cpp:88
Base class for the finite elements.
Definition: Element.h:112
Base class for object that model the cyclic behavior of semi-rigid connectors.
Definition: CyclicModel.h:39
Element * getCopy(void) const
Virtual constructor.
Definition: Inelastic2DYS02.cpp:81
int update(void)
Updates the element state.
Definition: Inelastic2DYS02.cpp:129
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
YieldSurface_BC is an abstract class and provides the interface between the specific yield surface de...
Definition: YieldSurface_BC.h:53
Inelastic Element - concentrated hinge model, Fi - Fj interaction at each ends using yield surfaces *...
Definition: InelasticYS2DGNL.h:44