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