XC Open source finite element analysis program
ElTawil2DUnSym.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 // ElTawil2DUnSym.h: interface for the ElTawil class.
28 //
30 
31 #ifndef ELTAWIL2DUNSYM_H
32 #define ELTAWIL2DUNSYM_H
33 
34 #include "YieldSurface_BC2D.h"
35 /*
36  ytPos
37  xt2 _ xt1
38  / \
39  / \
40  / )
41  <------------>
42  \ /
43  xt3 \___/ xt4
44  ytNeg
45 
46 
47 
48 */
49 namespace XC {
53  {
54  protected:
55 
56  double xBal, yBal;
57  double xPosBal, yPosBal;
58  double xNegBal, yNegBal;
59  double yPosCap, yNegCap;
60  double yPosCap_orig, yNegCap_orig;
61  double czPos, tyPos;
62  double czNeg, tyNeg;
63  double ytPos, ytNeg;
64  double xt1, xt2, xt3, xt4;
65  double qy;
66  public:
67  ElTawil2DUnSym(int tag, double xPosBal, double yPosBal,
68  double xNegBal, double yNegBal,
69  double ypos, double yneg,
70  YS_Evolution &model,
71  double czPos=1.6, double tyPos=1.9,
72  double czNeg=1.6, double tyNeg=1.9);
73 
74 
75  virtual YieldSurface_BC *getCopy(void);
76  virtual void Print(std::ostream &s, int flag =0);
77 
78 //protected:
79 // For the following 2 methods, x, y already non-dimensionalized
80  virtual void getGradient(double &gx, double &gy, double x, double y);
81  virtual double getSurfaceDrift(double x, double y);
82  virtual void setExtent();
83  virtual void customizeInterpolate(double &xi, double &yi, double &xj, double &yj);
84  };
85 } // end of XC namespace
86 
87 #endif
88 
89 
Unsymmetric 2D El Tawil yield surface.
Definition: ElTawil2DUnSym.h:52
Yield surface.
Definition: YieldSurface_BC.h:46
Yield surface evolution.
Definition: YS_Evolution.h:46
virtual void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: ElTawil2DUnSym.cpp:336
BC 2D yield surface.
Definition: YieldSurface_BC2D.h:40
================================================================================
Definition: ContinuaReprComponent.h:34