xc
RoundedMohrCoulomb01PotentialSurface.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 //
29 // COPY LEFT and RIGHT:
30 // Commercial use of this program without express permission of the
31 // University, is strictly encouraged. Copyright and Copyleft are covered
32 // by the following clause:
33 //
34 // Woody's (Guthrie) license:
35 // ``This source code is Copyrighted in U.S., by the The University and
36 // by the Authors, for an indefinite period, and anybody caught
37 // using it without our permission, will be mighty good friends of ourn,
38 // cause we don't give a darn. Hack it. Compile it. Debug it. Run it. Yodel
39 // it. Enjoy it. We wrote it, that's all we wanted to do.'' bj
40 //
41 //
42 //
43 // PROJECT: Object Oriented Finite Element Program
44 // PURPOSE: Rounded Mohr Coulomb Potential Surface
45 // CLASS:
46 //
47 // VERSION:
48 // LANGUAGE: C++
49 // TARGET OS: DOS || UNIX || . . .
50 // DESIGNER(S): Boris Jeremic jeremic@ucdavis.edu
51 // Zhao Cheng,
52 // PROGRAMMER(S): Zhao Cheng, Boris Jeremic
53 //
54 //
55 // DATE: 12 Feb. 2003
56 // UPDATE HISTORY:
57 //
58 //
59 //
60 //
61 // SHORT EXPLANATION: Functions for rounded Mohr-Coulomb potential function
62 //
63 //================================================================================
64 
65 #ifndef RoundedMohrCoulomb01PotentialSurface_H
66 #define RoundedMohrCoulomb01PotentialSurface_H
67 
68 #include "material/nD/template_3d_ep/PotentialSurface.h"
69 
70 
71 namespace XC {
76  {
77  public:
78  RoundedMohrCoulomb01PotentialSurface( ){ }; // Default constructor
79  ~RoundedMohrCoulomb01PotentialSurface() { }; //Not all virtual functions redefined
80  PotentialSurface *getCopy(void) const; //create a clone of itself
81 
82  BJtensor dQods(const EPState *EPS ) const;
83  BJtensor d2Qods2(const EPState *EPS) const;
84 
85  BJtensor d2Qodsds1(const EPState *EPS) const; // For Consistent Algorithm, Z Cheng, Jan 2004
86 
87  virtual void print(std::ostream &os) const;
88  };
89 
90 } // end of XC namespace
91 
92 #endif
93 
PotentialSurface * getCopy(void) const
Virtual constructor.
Definition: RoundedMohrCoulomb01PotentialSurface.cpp:70
Boris Jeremic tensor class.
Definition: BJtensor.h:112
Definition: PotentialSurface.h:76
Base class for all elasto-plastic states.
Definition: EPState.h:151
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual void print(std::ostream &os) const
Print stuff.
Definition: RoundedMohrCoulomb01PotentialSurface.cpp:180
BJtensor d2Qodsds1(const EPState *EPS) const
The d(dQ/dsigma_ij)/ds1.
Definition: RoundedMohrCoulomb01PotentialSurface.cpp:172
Rounded Mohr-Coulomb model potential surface.
Definition: RoundedMohrCoulomb01PotentialSurface.h:75