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