XC Open source finite element analysis program
MD_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 //----------------------------------------------------------------------------
27 //
28 //================================================================================
29 //# COPYRIGHT (C): :-)) #
30 //# PROJECT: Object Oriented Finite Element Program #
31 //# PURPOSE: Mazari - Dafalias potential criterion #
32 //# CLASS: MDPotentialSurface #
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 08 '00 #
41 //# UPDATE HISTORY: #
42 //# #
43 //# #
44 //# #
45 //# #
46 //# SHORT EXPLANATION: #
47 //# #
48 //# #
49 //# #
50 //# #
51 //# #
52 //# #
53 //# #
54 //# #
55 //# #
56 //# #
57 //================================================================================
58 //
59 
60 #ifndef MD_PS_H
61 #define MD_PS_H
62 
63 #include "material/nD/Template3Dep/PS.h"
64 
65 
66 namespace XC {
68 //
70 class MDPotentialSurface : public PotentialSurface
71 {
72 
73  public:
74  PotentialSurface *newObj(); //create a colne of itself
75  MDPotentialSurface(); // Default constructor
76 
77  BJtensor dQods(const EPState *EPS) const;
78  BJtensor d2Qods2(const EPState *EPS) const ;
79 
80  //aux. functions for d2Qods2
81  BJtensor dnods(const EPState *EPS) const;
82  BJtensor dthetaoverds(const EPState *EPS) const;
83  double dgoverdt(double theta, double c) const;
84  BJtensor apqdnods(const EPState *EPS) const;
85 
86  void print() { std::cerr << *this; };
87 
88  //================================================================================
89  // Overloaded Insertion Operator
90  // prints an PotentialSurface's contents
91  //================================================================================
92  friend std::ostream& operator<< (std::ostream& os, const MDPotentialSurface &PS)
93  {
94  os << "Manzari-Dafalias Potential Surface Parameters: " << std::endl;
95  return os;
96  }
97 };
98 } // end of XC namespace
99 
100 #endif
101 
================================================================================
Definition: ContinuaReprComponent.h:34