XC Open source finite element analysis program
DP_YS01.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: Drucker-Prager yield criterion 01(with Pc) #
32 //# CLASS: DPYieldSurface01 #
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: August 03 '00 #
41 //# UPDATE HISTORY: December 13, 00 #
42 //# #
43 //# #
44 //# #
45 //# #
46 //# SHORT EXPLANATION: #
47 //# #
48 //# #
49 //================================================================================
50 //*/
51 
52 #ifndef DP_YS01_H
53 #define DP_YS01_H
54 
55 #include "material/nD/Template3Dep/YS.h"
56 
57 namespace XC {
59 //
62 {
63  // Private vars to define the Mazari-Dafalias Yield Surface
64  private:
65  double Pc;
66 
67  public:
68  YieldSurface *newObj(); //create a colne of itself
69  DPYieldSurface01(double pc); // Default constructor
70  //DPYieldSurface01(const DPYieldSurface01 &); // Default constructor
71 
72  double f(const EPState *EPS) const;
73  BJtensor dFods(const EPState *EPS) const;
74 
75  // Redefine 1st derivative of F over scalar internal variables
76  double xi_s1( const EPState *EPS ) const; // df/dm
77  //double xi_s2( const EPState *EPS ) const;
78 
79  // Redefine 1st derivative of F over tensorial internal variables
80  BJtensor xi_t1(const EPState *EPS) const; // dF / d alpha_ij
81  const double &getPc(void) const;
82 
83  void print() {std::cerr << *this; };
84 
85  //================================================================================
86 
87 };
88 
89 // Overloaded Insertion Operator
90 std::ostream& operator<< (std::ostream& os, const DPYieldSurface01 & YS);
91 
92 } // end of XC namespace
93 
94 #endif
95 
Definition: BJtensor.h:110
??.
Definition: DP_YS01.h:61
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: YS.h:70
BJtensor dFods(const EPState *EPS) const
Definition: DP_YS01.cpp:127
3
Definition: EPState.h:73
================================================================================
Definition: ContinuaReprComponent.h:34