xc
InteractionDiagramData.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 //InteractionDiagramData
29 
30 #ifndef INTERACTIONDIAGRAMDATA_H
31 #define INTERACTIONDIAGRAMDATA_H
32 
33 
34 #include "PivotsUltimateStrains.h"
35 
36 namespace XC {
37 
38 
40 //
43  {
44  double threshold;
45  double inc_eps;
46  double inc_t;
47  PivotsUltimateStrains agot_pivots;
48  std::string concrete_set_name;
49  int concrete_tag;
50  std::string reinforcement_set_name;
51  int reinforcement_tag;
52  public:
54  InteractionDiagramData(const double &u,const double &inc_e,const double &inc_t= M_PI/4,const PivotsUltimateStrains &agot= PivotsUltimateStrains());
55 
56  inline const double &getThreshold(void) const
57  { return threshold; }
58  inline void setThreshold(const double &v)
59  { threshold= v; }
60  inline const double &getIncEps(void) const
61  { return inc_eps; }
62  inline void setIncEps(const double &v)
63  { inc_eps= v; }
64  inline const double &getIncTheta(void) const
65  { return inc_t; }
66  inline void setIncTheta(const double &v)
67  { inc_t= v; }
68  inline const PivotsUltimateStrains &getPivotsUltimateStrains(void) const
69  { return agot_pivots; }
70  inline void setPivotsUltimateStrains(const PivotsUltimateStrains &v)
71  { agot_pivots= v; }
72  inline const std::string &getConcreteSetName(void) const
73  { return concrete_set_name; }
74  inline void setConcreteSetName(const std::string &v)
75  { concrete_set_name= v; }
76  inline const int &getConcreteTag(void) const
77  { return concrete_tag; }
78  inline void setConcreteTag(const int &v)
79  { concrete_tag= v; }
80  inline const std::string &getRebarSetName(void) const
81  { return reinforcement_set_name; }
82  inline void setRebarSetName(const std::string &v)
83  { reinforcement_set_name= v; }
84  inline const int &getReinforcementTag(void) const
85  { return reinforcement_tag; }
86  inline void setReinforcementTag(const int &v)
87  { reinforcement_tag= v; }
88  };
89 
90 } // end of XC namespace
91 
92 #endif
@ingroup MATSCCDiagInt
Definition: InteractionDiagramData.h:42
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