XC Open source finite element analysis program
BoundingSurface2D.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 // BoundingSurface2D.h
28 //
30 
31 #ifndef BOUNDINGSURFACE2D_H
32 #define BOUNDINGSURFACE2D_H
33 
34 #include "material/yieldSurface/evolution/YS_Evolution2D.h"
35 
36 namespace XC {
40  {
41  protected:
42 // double minIsoFactor;
43  PlasticHardeningMaterial *kpMatX, *kpMatY;
44  YieldSurface_BC *boundSurface;
45  public:
46  BoundingSurface2D(int tag, int classTag, double min_iso_factor,
47  double iso_ratio, double kin_ratio,
50  YieldSurface_BC &bound_surface);
51 
52  virtual ~BoundingSurface2D();
53  virtual int commitState();
54  virtual int revertToLastCommit(void);
55  virtual const Vector &getEquiPlasticStiffness(void)=0;
56 
57  virtual void Print(std::ostream &s, int flag =0);
58  virtual YS_Evolution *getCopy(void)=0;
59 
60 protected:
61  virtual void setTrialPlasticStrains(double ep, const Vector &f, const Vector &g)=0;
62  virtual double getIsoPlasticStiffness(int dir)=0;
63  virtual double getKinPlasticStiffness(int dir)=0;
64  virtual Vector& getEvolDirection(Vector &f_new)=0;
65  };
66 } // end of XC namespace
67 
68 #endif
Definition: Vector.h:82
Yield surface.
Definition: YieldSurface_BC.h:46
Bounding 2D yield surface.
Definition: BoundingSurface2D.h:39
2D yield surface evolution.
Definition: YS_Evolution2D.h:41
virtual void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: BoundingSurface2D.cpp:120
Yield surface evolution.
Definition: YS_Evolution.h:46
Plastic material with strain hardening.
Definition: PlasticHardeningMaterial.h:42
================================================================================
Definition: ContinuaReprComponent.h:34