XC Open source finite element analysis program
EL_T.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_T (the base class for tensorial 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 to runtime |
50 // polymorphism of C++ to achieve the fexibility of the |
51 // platform. |
52 // |
53 //=================================================================================
54 //
55 
56 #ifndef EL_T_H
57 #define EL_T_H
58 
59 #include <iostream>
60 
61 namespace XC {
62 class EPState;
63 class PotentialSurface;
64  class BJtensor;
65 
67 //
70  {
71  public:
72  // Constructor
73  EvolutionLaw_T(void) {}
74  virtual ~EvolutionLaw_T(void) {}
75  //create a colne of itself
76  virtual EvolutionLaw_T *newObj();
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  //Print the contents of the evolution law
82  virtual void print();
83 
84  // updating E, e, D and m for Manzari-Dafalias model,
85  virtual int updateEeDm( EPState *EPS, double st_vol, double dLamda);
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  // Evaluating hardening function h_t
93  virtual BJtensor h_t(EPState *EPS, PotentialSurface *PS);
94 
95  //================================================================================
96  // Overloaded Insertion Operator
97  // prints an Evolution Law_T's contents
98  //================================================================================
99  friend std::ostream& operator<<(std::ostream& os, const EvolutionLaw_T & EL);
100 
101 };
102 } // end of XC namespace
103 
104 
105 #endif
106 
Definition: BJtensor.h:110
??.
Definition: EL_T.h:69
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