xc
PivotsUltimateStrains.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 //PivotsUltimateStrains
29 
30 #ifndef PIVOTSULTIMATESTRAINS_H
31 #define PIVOTSULTIMATESTRAINS_H
32 
33 #include "utility/kernel/CommandEntity.h"
34 
35 namespace XC {
36 
38 //
42  {
43  double eps_agot_A;
44  double eps_agot_B;
45  double eps_agot_C;
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
Objet that can execute python scripts.
Definition: CommandEntity.h:40
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Definition of ultimate strains for the pivots of a reinforced concrete sections.
Definition: PivotsUltimateStrains.h:41