xc
Hajjar2D.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 // Hajjar2D.h: interface for the Hajjar2D class.
29 //
31 
32 #ifndef HAJJAR2D_H
33 #define HAJJAR2D_H
34 
35 #include "material/yieldSurface/yieldSurfaceBC/YieldSurface_BC2D.h"
36 #include <material/uniaxial/UniaxialMaterial.h>
37 
38 namespace XC {
40 //
43  {
44  public:
45  double depth, width, thick, fc, fy, centroidY;
46  double c1, c2, c3;
47 
48  Hajjar2D(int tag, double xmax, double ymax, YS_Evolution &model,
49  double centroid_y, double c1, double c2, double c3);
50 
51  Hajjar2D(int tag, YS_Evolution &model,
52  double D, double b, double t, double fc_, double fy_);
53 
54  virtual YieldSurface_BC *getCopy(void);
55  virtual void Print(std::ostream &s, int flag =0) const;
56 
57 //protected:
58 // For the following 2 methods, x, y already non-dimensionalized
59  virtual void getGradient(double &gx, double &gy, double x, double y);
60  virtual double getSurfaceDrift(double x, double y);
61  virtual void setExtent();
62  };
63 } // end of XC namespace
64 
65 #endif
Definition: __init__.py:1
virtual void getGradient(double &gx, double &gy, double x, double y)
Definition: Hajjar2D.cpp:124
Yield surface evolution law.
Definition: YS_Evolution.h:50
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Hajjar yield surface for concrete filled tubes.
Definition: Hajjar2D.h:42
YieldSurfaceBC2D is an abstract class that implements methods for two-dimensional (e...
Definition: YieldSurface_BC2D.h:44
Hajjar2D(int tag, double xmax, double ymax, YS_Evolution &model, double centroid_y, double c1, double c2, double c3)
Definition: Hajjar2D.cpp:41
YieldSurface_BC is an abstract class and provides the interface between the specific yield surface de...
Definition: YieldSurface_BC.h:53
virtual void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: Hajjar2D.cpp:180