XC Open source finite element analysis program
EL_S.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 
29 // COPYRIGHT (C): :-)) |
30 // PROJECT: Object Oriented Finite Element Program |
31 // PURPOSE: General platform for elaso-plastic efficient and easy |
32 // constitutive model implementation |
33 // |
34 // CLASS: EvolutionLaw_S (the base class for scalar evolution law) |
35 // |
36 // VERSION: |
37 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
38 // TARGET OS: DOS || UNIX || . . . |
39 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
40 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
41 // |
42 // |
43 // DATE: 09-02-2000 |
44 // UPDATE HISTORY: |
45 // |
46 // |
47 // |
48 // |
49 // SHORT EXPLANATION: The base class is necessary for we need to use the runtime |
50 // polymorphism of C++ to achieve the fexibility of the |
51 // platform. |
52 //=================================================================================
53 //
54 
55 #ifndef EL_S_H
56 #define EL_S_H
57 
58 #include <iostream>
59 
60 namespace XC {
61 class EPState;
62  class PotentialSurface;
63 
65 //
67 //
69 //
72  {
73  public:
74 
75  EvolutionLaw_S(void){} //Normal Constructor
76  virtual ~EvolutionLaw_S(void){}
77  virtual EvolutionLaw_S *newObj(); //create a colne of itself
78 
79  // Not necessary since the increment of internal var can be evalulated in constitutive driver!
80  //virtual void UpdateVar( EPState *EPS, double dlamda ) = 0; // Evolve only one internal variable
81 
82  virtual void print(); //Print the contents of the evolution law
83 
84  //virtual void InitVars( EPState *EPS) = 0; // Initializing eo and E for Manzari-Dafalias model,
85  // // other model might not need it!
86 
87  //virtual void setInitD( EPState *EPS) = 0; // Initializing D once current st hits the y.s. for Manzari-Dafalias model ,
88  // // other model might not need it
89 
90  //Why can't i put const before EPState???????????????????????? Aug. 16, 2000
91  //virtual double h( EPState *EPS, double d ) = 0; // Evaluating hardening function h
92  virtual double h_s( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
93 
94  //================================================================================
95  // Overloaded Insertion Operator
96  // prints an Evolution Law_S's contents
97  //================================================================================
98  friend std::ostream &operator<<(std::ostream &os, const EvolutionLaw_S & EL);
99  };
100 
101 std::ostream &operator<<(std::ostream &os, const EvolutionLaw_S & EL);
102 
103 } // end of XC namespace
104 
105 
106 #endif
107 
??.
Definition: EL_S.h:71
3
Definition: EPState.h:73
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: PS.h:71
================================================================================
Definition: ContinuaReprComponent.h:34