XC Open source finite element analysis program
ElTawil2D.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 // ElTawil2D.h: interface for the ElTawil class.
28 //
30 
31 #ifndef ELTAWIL2D_H
32 #define ELTAWIL2D_H
33 
34 #include "material/yieldSurface/yieldSurfaceBC/YieldSurface_BC2D.h"
35 
36 namespace XC {
40  {
41  protected:
42  double xBal, yBal;
43  double yPosCap, yNegCap;
44  double yPosCap_orig, yNegCap_orig;
45  double cz, ty;
46  double ytPos, ytNeg;
47  double xtPos, xtNeg;
48  double qy;
49  public:
50  ElTawil2D(int tag, double xbal, double ybal, double ypos, double yneg,YS_Evolution &model, double cz=1.6, double ty=1.9);
51 
52  virtual YieldSurface_BC *getCopy(void);
53  virtual void Print(std::ostream &s, int flag =0);
54 
55 //protected:
56 // For the following 2 methods, x, y already non-dimensionalized
57  virtual void getGradient(double &gx, double &gy, double x, double y);
58  virtual double getSurfaceDrift(double x, double y);
59  virtual void setExtent();
60  virtual void customizeInterpolate(double &xi, double &yi, double &xj, double &yj);
61  };
62 } // end of XC namespace
63 
64 #endif
El Tawil 2D yield surface.
Definition: ElTawil2D.h:39
Yield surface.
Definition: YieldSurface_BC.h:46
virtual void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: ElTawil2D.cpp:223
Yield surface evolution.
Definition: YS_Evolution.h:46
ElTawil2D(int tag, double xbal, double ybal, double ypos, double yneg, YS_Evolution &model, double cz=1.6, double ty=1.9)
Definition: ElTawil2D.cpp:42
virtual void getGradient(double &gx, double &gy, double x, double y)
Definition: ElTawil2D.cpp:109
BC 2D yield surface.
Definition: YieldSurface_BC2D.h:40
================================================================================
Definition: ContinuaReprComponent.h:34