xc
NullYS2D.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 // NullYS2D.h: interface for the NullYS2D class.
29 //
31 
32 #ifndef NULLYS2D_H
33 #define NULLYS2D_H
34 
35 #include "material/yieldSurface/yieldSurfaceBC/YieldSurface_BC2D.h"
36 
37 namespace XC {
38 class NullEvolution;
42  {
43  private:
44  static NullEvolution evolModel;
45  public:
46  NullYS2D(int tag);
47 
48  virtual YieldSurface_BC *getCopy(void);
49  virtual void Print(std::ostream &s, int flag =0) const;
50 
51 //protected:
52 // For the following 2 methods, x, y already non-dimensionalized
53  virtual void getGradient(double &gx, double &gy, double x, double y);
54  virtual double getSurfaceDrift(double x, double y);
55  virtual void setExtent();
56  };
57 } // end of XC namespace
58 
59 #endif
virtual void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: NullYS2D.cpp:78
Useful for declaring inner-surfaces or pinching surfaces or just plain elastic-perfectly plastic surf...
Definition: NullEvolution.h:55
Null 2D yield surface.
Definition: NullYS2D.h:41
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