XC Open source finite element analysis program
RMC01_PS.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 //
28 // COPY LEFT and RIGHT:
29 // Commercial use of this program without express permission of the
30 // University, is strictly encouraged. Copyright and Copyleft are covered
31 // by the following clause:
32 //
33 // Woody's (Guthrie) license:
34 // ``This source code is Copyrighted in U.S., by the The University and
35 // by the Authors, for an indefinite period, and anybody caught
36 // using it without our permission, will be mighty good friends of ourn,
37 // cause we don't give a darn. Hack it. Compile it. Debug it. Run it. Yodel
38 // it. Enjoy it. We wrote it, that's all we wanted to do.'' bj
39 //
40 //
41 //
42 // PROJECT: Object Oriented Finite Element Program
43 // PURPOSE: Rounded Mohr Coulomb Potential Surface
44 // CLASS:
45 //
46 // VERSION:
47 // LANGUAGE: C++
48 // TARGET OS: DOS || UNIX || . . .
49 // DESIGNER(S): Boris Jeremic jeremic@ucdavis.edu
50 // Zhao Cheng,
51 // PROGRAMMER(S): Zhao Cheng, Boris Jeremic
52 //
53 //
54 // DATE: 12 Feb. 2003
55 // UPDATE HISTORY:
56 //
57 //
58 //
59 //
60 // SHORT EXPLANATION: Functions for rounded Mohr-Coulomb potential function
61 //
62 //================================================================================
63 
64 #ifndef RMC01_PS_H
65 #define RMC01_PS_H
66 
67 #include "material/nD/Template3Dep/PS.h"
68 
69 
70 namespace XC {
72 //
75  {
76  public:
77  RMC01PotentialSurface( ){ }; // Default constructor
78  ~RMC01PotentialSurface() { }; //Not all virtual functions redefined
79  PotentialSurface *newObj(); //create a colne of itself
80 
81  BJtensor dQods(const EPState *EPS ) const;
82  BJtensor d2Qods2(const EPState *EPS) const;
83 
84  BJtensor d2Qodsds1(const EPState *EPS) const; // For Consistent Algorithm, Z Cheng, Jan 2004
85 
86  void print() { std::cerr << *this; };
87 
88  //================================================================================
89  // Overloaded Insertion Operator
90  // prints an RMC01-PotentialSurface's contents
91  //================================================================================
92  friend std::ostream& operator<< (std::ostream& os, const RMC01PotentialSurface &PS);
93  };
94 } // end of XC namespace
95 
96 #endif
97 
Definition: BJtensor.h:110
Functions for rounded Mohr-Coulomb potential function.
Definition: RMC01_PS.h:74
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