XC Open source finite element analysis program
DP_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 //----------------------------------------------------------------------------
28 //################################################################################
29 //# COPYRIGHT (C): :-)) #
30 //# PROJECT: Object Oriented Finite Element Program #
31 //# PURPOSE: Drucker - Prager potential criterion #
32 //# CLASS: DPPotentialSurface #
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 '93 #
41 //# UPDATE HISTORY: August 08 '00 #
42 //# #
43 //# #
44 //# #
45 //# #
46 //# SHORT EXPLANATION: #
47 //# #
48 //# if alfa1#=0 && alfa2#=0 && alfa1#=alfa2 => #
49 //# Drucker-Prager with non-associated flow rule #
50 //# #
51 //# if alfa1#=0 && alfa2#=0 && alfa1==alfa2 => #
52 //# Drucker-Prager with associated flow rule #
53 //# #
54 //# if alfa1==0 && alfa2#=0 => #
55 //# Von Mises with non-associated Drucker-Prager flow rule #
56 //# #
57 //# if alfa1#=0 && alfa2==0 => #
58 //# Drucker-Prager with non-associated Von Mises flow rule #
59 //# #
60 //# if alfa1==0 && alfa2==0 => #
61 //# Von Mises with associated flow rule #
62 //# #
63 //################################################################################
64 //*/
65 
66 #ifndef DP_PS_H
67 #define DP_PS_H
68 
69 #include "material/nD/Template3Dep/PS.h"
70 
71 namespace XC {
73 //
76 {
77  private: // Private vars to define the Drucker-Prager Potential Surface
78  double alfa2; // potential surface orientation angle
79 
80  public:
81  DPPotentialSurface( double a2d = 0.0 ) : alfa2(a2d) {} // Default constructor
82  virtual ~DPPotentialSurface() { }; //Virtual functions not all redefined
83  DPPotentialSurface( const DPPotentialSurface &DPPS ); //Copy constructor
84  PotentialSurface *newObj(); //create a colne of itself
85  double getalfa2() const;
86 
87  BJtensor dQods(const EPState *EPS) const;
88  BJtensor d2Qods2(const EPState *EPS) const;
89 
90  BJtensor d2Qodsds1(const EPState *EPS) const; // For Consistent Algorithm, Z Cheng, Jan 2004
91 
92  void print() { std::cerr << *this; };
93 
94 
95 };
96 
97 //================================================================================
98 // Overloaded Insertion Operator
99 // prints an DP-PotentialSurface's contents
100 //================================================================================
101 std::ostream& operator<< (std::ostream& os, const DPPotentialSurface &PS);
102 
103 } // end of XC namespace
104 
105 #endif
106 
Definition: BJtensor.h:110
??.
Definition: DP_PS.h:75
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