XC Open source finite element analysis program
VM_YS.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: Von Mises yield criterion #
32 //# CLASS: VMYieldSurface #
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: Von Mises yield surface #
47 //# #
48 //# #
49 //################################################################################
50 //*/
51 
52 #ifndef VM_YS_H
53 #define VM_YS_H
54 
55 #include "material/nD/Template3Dep/YS.h"
56 
57 
58 namespace XC {
60 //
63  {
64  public:
65  // Create a colne of itself
66  YieldSurface *newObj();
67 
68  // Default constructor
69  VMYieldSurface ( ) {}
70 
71  // Copy constructor
72  //VMYieldSurface (const VMYieldSurface & );
73 
74  // Evaluation of f
75  double f(const EPState *EPS) const;
76 
77  //First derivative of F over sigma
78  BJtensor dFods(const EPState *EPS) const;
79 
80  // Redefine 1st derivative of F over first scalar internal variable
81  double xi_s1(const EPState *EPS) const;
82 
83  // Redefine 1st derivative of F over first tensorial internal variable
84  BJtensor xi_t1(const EPState *EPS) const;
85 
86  void print() { std::cerr << *this; };
87 
88  //================================================================================
89  // Overloaded Insertion Operator
90  // prints an VM YieldSurface's contents
91  //================================================================================
92  friend std::ostream& operator<< (std::ostream& os, const VMYieldSurface & YS);
93  };
94 } // end of XC namespace
95 
96 #endif
97 
Definition: BJtensor.h:110
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: YS.h:70
Von Mises yield surface.
Definition: VM_YS.h:62
3
Definition: EPState.h:73
================================================================================
Definition: ContinuaReprComponent.h:34