xc
PivotsUltimateStrains.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 //PivotsUltimateStrains
28 
29 #ifndef PIVOTSULTIMATESTRAINS_H
30 #define PIVOTSULTIMATESTRAINS_H
31 
32 #include "xc_utils/src/kernel/CommandEntity.h"
33 
34 namespace XC {
35 
37 //
39 class PivotsUltimateStrains: public CommandEntity
40  {
41  double eps_agot_A;
42  double eps_agot_B;
43  double eps_agot_C;
44  protected:
45 
46  public:
47  PivotsUltimateStrains(const double &eA= 0.01,const double &eB= -0.0035,const double &eC= -0.002);
48 
49  const double &getUltimateStrainAPivot(void) const;
50  const double &getUltimateStrainBPivot(void) const;
51  const double &getUltimateStrainCPivot(void) const;
52  void setUltimateStrainAPivot(const double &);
53  void setUltimateStrainBPivot(const double &);
54  void setUltimateStrainCPivot(const double &);
55  const double getIncEpsAB(const double &ndiv= 25) const;
56 
57  };
58 
59 } // end of XC namespace
60 
61 #endif
void setUltimateStrainAPivot(const double &)
Set ultimate strain for the A pivot.
Definition: PivotsUltimateStrains.cc:48
void setUltimateStrainCPivot(const double &)
Set ultimate strain for the C pivot.
Definition: PivotsUltimateStrains.cc:54
const double getIncEpsAB(const double &ndiv=25) const
Return the strain increment between A end B pivots.
Definition: PivotsUltimateStrains.cc:58
const double & getUltimateStrainAPivot(void) const
Return ultimate strain for the A pivot.
Definition: PivotsUltimateStrains.cc:36
const double & getUltimateStrainCPivot(void) const
Return ultimate strain for the C pivot.
Definition: PivotsUltimateStrains.cc:44
const double & getUltimateStrainBPivot(void) const
Return ultimate strain for the B pivot.
Definition: PivotsUltimateStrains.cc:40
void setUltimateStrainBPivot(const double &)
Set ultimate strain for the B pivot.
Definition: PivotsUltimateStrains.cc:51
PivotsUltimateStrains(const double &eA=0.01, const double &eB=-0.0035, const double &eC=-0.002)
Constructor.
Definition: PivotsUltimateStrains.cc:32
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Definition of ultimate strains for the pivots.
Definition: PivotsUltimateStrains.h:39