xc
ElasticPPMaterial.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 #ifndef ElasticPPMaterial_h
30 #define ElasticPPMaterial_h
31 
32 // File: ~/material/ElasticPPMaterial.h
33 //
34 // Written: fmk
35 // Created: 07/98
36 // Revision: A
37 //
38 // Description: This file contains the class definition for
39 // ElasticPPMaterial. ElasticPPMaterial provides the abstraction
40 // of an elastic perfectly plastic uniaxial material,
41 //
42 // What: "@(#) ElasticPPMaterial.h, revA"
43 
44 #include "material/uniaxial/ElasticPPMaterialBase.h"
45 
46 namespace XC {
47 //
57  {
58  public:
59  ElasticPPMaterial(int tag= 0);
60  ElasticPPMaterial(int tag, double E, double eyp);
61  ElasticPPMaterial(int tag, double E, double eyp, double eyn, double ezero);
62  UniaxialMaterial *getCopy(void) const;
63 
64  void set_fyp(const double &);
65  void set_fyn(const double &);
66  };
67 } // end of XC namespace
68 
69 
70 #endif
71 
72 
73 
void set_fyp(const double &)
Sets the positive yield stress value (tension).
Definition: ElasticPPMaterial.cpp:72
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:93
double E
Elastic modulus.
Definition: ElasticBaseMaterial.h:45
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: ElasticPPMaterial.cpp:118
Elastic perfectly plastic material.
Definition: ElasticPPMaterial.h:56
void set_fyn(const double &)
Set the yield stress a compression value.
Definition: ElasticPPMaterial.cpp:85
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Elastic perfectly plastic material.
Definition: ElasticPPMaterialBase.h:79
ElasticPPMaterial(int tag=0)
Constructor.
Definition: ElasticPPMaterial.cpp:114