XC Open source finite element analysis program
RMC01_YS.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 of California, is strictly encouraged. Copyright and Copyleft #
31 //# are covered by the following clause: #
32 //# #
33 //# Woody's license: #
34 //# ``This source code is Copyrighted in U.S., by the The Regents of the #
35 //# University of California, 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: RMC01YieldSurface #
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 yield function #
61 //# #
62 //================================================================================
63 
64 #ifndef RMC01_YS_H
65 #define RMC01_YS_H
66 
67 
68 #include "material/nD/Template3Dep/YS.h"
69 
70 
71 namespace XC {
73 //
76  {
77  public:
78  YieldSurface *newObj(); //create a clone of itself
79 
80  RMC01YieldSurface ( ) {} // Default constructor
81  virtual ~RMC01YieldSurface() {} // Destructor
82 
83  double f(const EPState *EPS) const;
84  BJtensor dFods(const EPState *EPS) const;
85 
86  // Redefine 1st derivative of F over scalar internal variables
87  double xi_s1( const EPState *EPS ) const;
88  double xi_s2( const EPState *EPS ) const;
89 
90  // Redefine 1st derivative of F over tensorial internal variables
91 // tensor xi_t1(const EPState *EPS) const;
92 
93  void print() { std::cerr << *this; };
94 
95  //================================================================================
96  // Overloaded Insertion Operator
97  // prints an RMC01 YieldSurface's contents
98  //================================================================================
99  friend std::ostream& operator<< (std::ostream& os, const RMC01YieldSurface & YS);
100  };
101 } // end of XC namespace
102 
103 #endif
104 
Definition: BJtensor.h:110
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: YS.h:70
3
Definition: EPState.h:73
Functions for rounded Mohr-Coulomb yield function.
Definition: RMC01_YS.h:75
================================================================================
Definition: ContinuaReprComponent.h:34