XC Open source finite element analysis program
CAM_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 //----------------------------------------------------------------------------
28 //================================================================================
29 //# COPYRIGHT (C): :-)) #
30 //# PROJECT: Object Oriented Finite Element Program #
31 //# PURPOSE: CAM CLAY yield criterion #
32 //# CLASS: CAMYieldSurface01(for monotonic loading) #
33 //# #
34 //# VERSION: #
35 //# LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) #
36 //# TARGET OS: DOS || UNIX || . . . #
37 //# PROGRAMMER(S): Boris Jeremic, ZHaohui Yang #
38 //# #
39 //# #
40 //# DATE: Mar. 28, 2001 #
41 //# UPDATE HISTORY: #
42 //# #
43 //# #
44 //# #
45 //# #
46 //# SHORT EXPLANATION: #
47 //# #
48 //# #
49 //================================================================================
50 //*/
51 
52 #ifndef CAM_YS_H
53 #define CAM_YS_H
54 
55 #include "material/nD/Template3Dep/YS.h"
56 
57 
58 namespace XC {
60 //
63  {
64  // Private vars to define the Mazari-Dafalias Yield Surface
65  private:
66  double M; // the slope of critical state line
67  public:
68  YieldSurface *newObj(); //create a colne of itself
69  CAMYieldSurface(double Mp = 1.2); // Default constructor
70 
71  double f(const EPState *EPS) const;
72  BJtensor dFods(const EPState *EPS) const;
73 
74  // Redefine 1st derivative of F over scalar internal variables
75  double xi_s1( const EPState *EPS ) const; // df/dm
76 
77  // Redefine 1st derivative of F over tensorial internal variables
78 
79  double getM() const;
80  void print() { std::cerr << *this; };
81 
82 // moved to stresstensor
83 // private:
84 // BJtensor dpoverds( ) const;
85 // BJtensor dqoverds(const EPState *EPS) const;
86 // BJtensor dthetaoverds(const EPState *EPS) const;
87 
88  //================================================================================
89 
90  };
91 
92 // Overloaded Insertion Operator
93 std::ostream &operator<<(std::ostream& os, const CAMYieldSurface &YS);
94 
95 } // end of XC namespace
96 
97 #endif
98 
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
??.
Definition: CAM_YS.h:62
================================================================================
Definition: ContinuaReprComponent.h:34