xc
CamClayPotentialSurface.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 //=============================================================================
30 //# COPYRIGHT (C): :-)) #
31 //# PROJECT: Object Oriented Finite Element Program #
32 //# PURPOSE: Cam-Clay potential criterion #
33 //# CLASS: CamClayPotentialSurface #
34 //# #
35 //# VERSION: #
36 //# LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1)#
37 //# TARGET OS: DOS || UNIX || . . . #
38 //# PROGRAMMER(S): Boris Jeremic, ZHaohui Yang #
39 //# #
40 //# #
41 //# DATE: Mar. 28, 2001 #
42 //# UPDATE HISTORY: #
43 //# #
44 //# #
45 //# #
46 //# #
47 //# SHORT EXPLANATION: #
48 //# #
49 //# #
50 //=============================================================================
51 
52 
53 #ifndef CamClayPotentialSurface_H
54 #define CamClayPotentialSurface_H
55 
56 #include "material/nD/template_3d_ep/PotentialSurface.h"
57 
58 namespace XC {
59  class BJtensor;
64  {
65  // Private vars to define the Manzari-Dafalias Potential Surface
66  private:
67  double M;
68 
69  public:
70  CamClayPotentialSurface(double Mp = 1.2); // Default constructor
71  PotentialSurface *getCopy(void) const; // create a clone of itself
72 
73  BJtensor dQods(const EPState *EPS) const;
74  BJtensor d2Qods2(const EPState *EPS) const;
75 
76  BJtensor d2Qodsds1(const EPState *EPS) const; // For Consistent Algorithm, Z Cheng, Jan 2004
77 
78  double getM() const;
79  void setM(const double &);
80 
81  void print(std::ostream &os) const;
82 
83  };
84 } // end of XC namespace
85 
86 #endif
87 
BJtensor d2Qodsds1(const EPState *EPS) const
The d(dQ/dsigma_ij)/ds1.
Definition: CamClayPotentialSurface.cpp:109
Boris Jeremic tensor class.
Definition: BJtensor.h:112
Definition: PotentialSurface.h:76
Cam-Clay model potential surface.
Definition: CamClayPotentialSurface.h:63
Base class for all elasto-plastic states.
Definition: EPState.h:151
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
BJtensor dQods(const EPState *EPS) const
tensor dQ/dsigma_ij the normal to the potential surface
Definition: CamClayPotentialSurface.cpp:78