xc
EvolutionLaw_LEeq.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 
29 //============================================================================
30 // COPYRIGHT (C): :-)) |
31 // PROJECT: Object Oriented Finite Element Program |
32 // PURPOSE: General platform for elaso-plastic constitutive model |
33 // implementation |
34 // |
35 // CLASS: EvolutionLaw_L_Eeq (linear Evolution law) |
36 // |
37 // |
38 // VERSION: |
39 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
40 // TARGET OS: DOS || UNIX || . . . |
41 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
42 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
43 // |
44 // |
45 // DATE: 09-02-2000 |
46 // UPDATE HISTORY: |
47 // |
48 // |
49 // |
50 // |
51 // SHORT EXPLANATION: This is a linear evolution law for the evoltion of a |
52 // scalar variable k which depends on plastic equi. strain |
53 // i.e. dk = a*de_eq_p |
54 // |
55 //================================================================================
56 
57 #ifndef EvolutionLaw_LEeq_H
58 #define EvolutionLaw_LEeq_H
59 
60 #include <cmath>
61 #include "material/nD/template_3d_ep/EvolutionLaw_S.h"
62 
63 namespace XC {
71  {
72  private:
73  double a;
74 
75  public:
76  EvolutionLaw_L_Eeq(const double &ad= 10.0);
77 
78  EvolutionLaw_S *getCopy(void) const; //create a clone of itself
79 
80  // some accessor functions
81  double geta(void) const; // Linear coefficient used to evolve internal var
82  void seta(const double &);
83 
84  double h_s( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
85 
86  virtual void print(std::ostream &) const;
87 
88  };
89 } // end of XC namespace
90 
91 
92 #endif
93 
94 
95 
96 
double h_s(EPState *EPS, PotentialSurface *PS)
Evaluating h_s = a * pow( 2.0*Rij_dev * Rij_dev/3.0, 0.5) (For the evaluation of Kp) ...
Definition: EvolutionLaw_LEeq.cpp:71
EvolutionLaw_S * getCopy(void) const
Virtual constructor.
Definition: EvolutionLaw_LEeq.cpp:67
Definition: PotentialSurface.h:76
Base class for scalar evolution laws.
Definition: EvolutionLaw_S.h:70
Base class for all elasto-plastic states.
Definition: EPState.h:151
EvolutionLaw_L_Eeq(const double &ad=10.0)
Default constructor.
Definition: EvolutionLaw_LEeq.cpp:63
Linear evolution law.
Definition: EvolutionLaw_LEeq.h:70
virtual void print(std::ostream &) const
Print vars defined in Linear Evolution Law.
Definition: EvolutionLaw_LEeq.cpp:94
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35