xc
DruckerPrager3D.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 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** ****************************************************************** */
41 
42 
43 // $Revision: 1.1 $
44 // $Date: 2010-02-04 00:44:04 $
45 // $Source: /usr/local/cvs/OpenSees/SRC/material/nD/DruckerPrager3D.h,v $
46 
47 // Written: K.Petek, U.Washington
48 
49 //
50 // DruckerPrager3D isotropic hardening material class
51 //
52 
53 
54 #include "DruckerPrager.h"
55 
56 namespace XC {
58 //
61  {
62 
63 //-------------------Declarations-------------------------------
64 
65  public:
66  DruckerPrager3D(int tag= 0);
67 
68  DruckerPrager3D(int tag, double bulk, double shear,
69  double s_y, double r, double r_bar, double Kinfinity, double Kinit,
70  double d1, double d2, double H, double t, double massDen, double atm);
71 
72 
73  ~DruckerPrager3D(void);
74 
75  NDMaterial *getCopy(void) const;
76  const std::string &getType(void) const;
77  int getOrder(void) const;
78 
79  int setTrialStrain(const Vector &strain_from_element);
80 
81  // Unused trialStrain functions
82  int setTrialStrain(const Vector &v, const Vector &r);
83 
84  //send back the strain
85  const Vector &getStrain(void) const;
86 
87  //send back the stress
88  const Vector &getStress(void) const;
89 
90  //send back the tangent
91  const Matrix &getTangent(void) const;
92  const Matrix &getInitialTangent(void) const;
93  };
94 } // end XC namespace
const Vector & getStress(void) const
Return the stress.
Definition: DruckerPrager3D.cpp:83
Float vector abstraction.
Definition: Vector.h:94
~DruckerPrager3D(void)
Destructor.
Definition: DruckerPrager3D.cpp:38
NDMaterial * getCopy(void) const
Virtual constructor.
Definition: DruckerPrager3D.cpp:43
Drucker-Prager material.
Definition: DruckerPrager.h:76
double massDen
density
Definition: DruckerPrager.h:97
const Vector & getStrain(void) const
Return the strain.
Definition: DruckerPrager3D.cpp:78
Drucker-Prager 3D material.
Definition: DruckerPrager3D.h:60
Base class for 2D and 3D materials.
Definition: NDMaterial.h:101
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
int setTrialStrain(const Vector &strain_from_element)
Sets the value of the trial strain vector, that value used by {getStress()} and getTangent(), to be strain.
Definition: DruckerPrager3D.cpp:61
const Matrix & getTangent(void) const
Return the material tangent stiffness.
Definition: DruckerPrager3D.cpp:87
Matrix of floats.
Definition: Matrix.h:111
const Matrix & getInitialTangent(void) const
Return the material initial stiffness.
Definition: DruckerPrager3D.cpp:91