XC Open source finite element analysis program
EPPBaseMaterial.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 //EPPBaseMaterial.h
28 
29 #ifndef EPPBaseMaterial_h
30 #define EPPBaseMaterial_h
31 
32 #include <material/uniaxial/ElasticBaseMaterial.h>
33 
34 namespace XC {
36 //
39  {
40  protected:
41  double trialStress;
42  double trialTangent;
43  double commitStrain;
44  int sendData(CommParameters &);
45  int recvData(const CommParameters &);
46 
47  public:
48  EPPBaseMaterial(int tag, int classtag, double E= 0.0, double e0= 0.0);
49 
50 
51  inline double getStress(void) const
52  { return trialStress; }
53  inline double getTangent(void) const
54  { return trialTangent; }
55 
56 
57  };
58 } // end of XC namespace
59 
60 
61 #endif
EPPBaseMaterial(int tag, int classtag, double E=0.0, double e0=0.0)
Constructor.
Definition: EPPBaseMaterial.cc:33
double trialStress
current trial stress
Definition: EPPBaseMaterial.h:41
double trialTangent
current trial tangent
Definition: EPPBaseMaterial.h:42
double commitStrain
plastic strain at last commit
Definition: EPPBaseMaterial.h:43
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: EPPBaseMaterial.cc:45
double E
Elastic modulus.
Definition: ElasticBaseMaterial.h:42
Base class for uniaxial elastic materials.
Definition: ElasticBaseMaterial.h:38
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: EPPBaseMaterial.cc:37
Base class for elastic perfectly plastic materials.
Definition: EPPBaseMaterial.h:38
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34