xc
EvolutionLaw_S.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 
30 // COPYRIGHT (C): :-)) |
31 // PROJECT: Object Oriented Finite Element Program |
32 // PURPOSE: General platform for elaso-plastic efficient and easy |
33 // constitutive model implementation |
34 // |
35 // CLASS: EvolutionLaw_S (the base class for scalar evolution law) |
36 // |
37 // VERSION: |
38 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
39 // TARGET OS: DOS || UNIX || . . . |
40 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
41 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
42 // |
43 // |
44 // DATE: 09-02-2000 |
45 // UPDATE HISTORY: |
46 // |
47 // |
48 // |
49 // |
50 //=============================================================================
51 //
52 
53 #ifndef EL_S_H
54 #define EL_S_H
55 
56 #include <iostream>
57 #include "utility/kernel/CommandEntity.h"
58 
59 namespace XC {
60 class EPState;
61  class PotentialSurface;
62 
66 //
68 //
71  {
72  public:
73 
74  EvolutionLaw_S(void){} //Normal Constructor
75  virtual ~EvolutionLaw_S(void){}
76  virtual EvolutionLaw_S *getCopy(void) const; // create a clone of itself
77 
78  // Not necessary since the increment of internal var can be evalulated in constitutive driver!
79  //virtual void UpdateVar( EPState *EPS, double dlamda ) = 0; // Evolve only one internal variable
80 
81  virtual void print(std::ostream &) const;
82 
83  //virtual void InitVars( EPState *EPS) = 0; // Initializing eo and E for Manzari-Dafalias model,
84  // // other model might not need it!
85 
86  //virtual void setInitD( EPState *EPS) = 0; // Initializing D once current st hits the y.s. for Manzari-Dafalias model ,
87  // // other model might not need it
88 
89  //Why can't i put const before EPState???????????????????????? Aug. 16, 2000
90  //virtual double h( EPState *EPS, double d ) = 0; // Evaluating hardening function h
91  virtual double h_s(EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
92 
93  };
94 std::ostream& operator<<(std::ostream &, const EvolutionLaw_S &);
95 
96 } // end of XC namespace
97 
98 
99 #endif
100 
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
Objet that can execute python scripts.
Definition: CommandEntity.h:40
virtual EvolutionLaw_S * getCopy(void) const
Virtual constructor.
Definition: EvolutionLaw_S.cpp:66
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35