xc
Attalla2D.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 // Attalla2D.h: interface for the Attalla2D class.
29 //
31 
32 #ifndef ATTALLA2D_H
33 #define ATTALLA2D_H
34 
35 #include "material/yieldSurface/yieldSurfaceBC/YieldSurface_BC2D.h"
36 
37 namespace XC {
41  {
42  protected:
43  double a1, a2, a3, a4, a5, a6;
44  int driftAlgo;
45  public:
46  Attalla2D(int tag, double xmax, double ymax, YS_Evolution &model,
47  double a01=0.19, double a02=0.54, double a03=-1.4,
48  double a04=-1.64, double a05=2.21, double a06=2.10);
49 
50  virtual YieldSurface_BC *getCopy(void);
51  virtual void Print(std::ostream &s, int flag =0) const;
52 
53 //protected:
54 // For the following 2 methods, x, y already non-dimensionalized
55  virtual void getGradient(double &gx, double &gy, double x, double y);
56  virtual double getSurfaceDrift(double x, double y);
57  virtual void setExtent();
58  virtual void customizeInterpolate(double &xi, double &yi, double &xj, double &yj);
59  };
60 } // end of XC namespace
61 
62 #endif
Atalla 2D yield surface for steel sections.
Definition: Attalla2D.h:40
Definition: __init__.py:1
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
virtual void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: Attalla2D.cpp:145