XC Open source finite element analysis program
PlasticHardening2D.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 // PlasticHardening2D.h
28 //
30 
31 #if !defined PLASTICHARDENING2D_H
32 #define PLASTICHARDENING2D_H
33 
34 #include "material/yieldSurface/evolution/YS_Evolution2D.h"
35 
36 namespace XC {
41  {
42  protected:
43 // double minIsoFactor;
44  PlasticHardeningMaterial *kpMatXPos, *kpMatYPos;
45  PlasticHardeningMaterial *kpMatXNeg, *kpMatYNeg;
46  bool defPosX, defPosY;
47  double direction;
48 // bool pinchX;
49 public:
50  PlasticHardening2D(int tag, int classTag, double min_iso_factor,
51  double iso_ratio, double kin_ratio,
52  PlasticHardeningMaterial &kpx_pos,
53  PlasticHardeningMaterial &kpx_neg,
54  PlasticHardeningMaterial &kpy_pos,
55  PlasticHardeningMaterial &kpy_neg, double dir);
56 
57  virtual ~PlasticHardening2D();
58 
59  virtual int commitState();
60  virtual int revertToLastCommit(void);
61 
62  virtual void Print(std::ostream &s, int flag =0);
63  virtual YS_Evolution *getCopy(void)=0;
64  virtual const Vector &getEquiPlasticStiffness(void);
65  double getTrialPlasticStrains(int dof);
66  double getCommitPlasticStrains(int dof);
67 
68 protected:
69  virtual void setTrialPlasticStrains(double ep, const Vector &f, const Vector &g);
70  virtual double getIsoPlasticStiffness(int dir);
71  virtual double getKinPlasticStiffness(int dir);
72  virtual Vector& getEvolDirection(Vector &f_new);
73  };
74 } // end of XC namespace
75 
76 #endif
Definition: Vector.h:82
virtual void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: PlasticHardening2D.cpp:286
2D yield surface evolution.
Definition: YS_Evolution2D.h:41
Yield surface evolution.
Definition: YS_Evolution.h:46
Plastic material with strain hardening.
Definition: PlasticHardeningMaterial.h:42
================================================================================
Definition: ContinuaReprComponent.h:34
??
Definition: PlasticHardening2D.h:40