xc
ComputePivots.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 //ComputePivots.h
29 //Computes the pivots for a bending plane.
30 
31 
32 #ifndef COMPUTEPIVOTS_H
33 #define COMPUTEPIVOTS_H
34 
35 #include "utility/geom/coo_sys/ref_sys/Ref3d3d.h"
36 
37 namespace XC {
38 
39 class PivotsUltimateStrains;
40 class FiberPtrDeque;
41 class FiberContainer;
42 class Fiber;
43 
45 //
48 class ComputePivots: public Ref3d3d
49  {
50  const PivotsUltimateStrains &agot_pivots;
51  const FiberContainer &fibers;
52  const FiberPtrDeque &CFibers;
53  const FiberPtrDeque &SFibers;
54  public:
55  ComputePivots(const PivotsUltimateStrains &ap,const FiberContainer &fs,const FiberPtrDeque &fsC,const FiberPtrDeque &fsS,const double &theta);
56  const Fiber *getFiberCMinY(void) const;
57  const Fiber *getFiberSMinY(void) const;
58  const Fiber *getFiberCMaxY(void) const;
59  Pos3d getDPoint(void) const;
60  Pos3d calcPositionPivotA(void) const;
61  Pos3d calcPositionPivotB(void) const;
62  Pos3d calcPositionPivotC(void) const;
63  };
64 
65 } // end of XC namespace
66 
67 #endif
const Fiber * getFiberCMinY(void) const
Return a pointer to the fiber with the minimal y coordinate from those of the CFibers (concrete fiber...
Definition: ComputePivots.cc:69
const Fiber * getFiberSMinY(void) const
Return a pointer to the fiber with the minimal y coordinate from those of the SFibers (steel fibers) ...
Definition: ComputePivots.cc:61
Pos3d calcPositionPivotA(void) const
Most tensioned steel fiber.
Definition: ComputePivots.cc:94
Pos3d getDPoint(void) const
Returns the point with zero strain in concrete (XXX enhance explanation).
Definition: ComputePivots.cc:85
Pos3d calcPositionPivotB(void) const
Most compressed concrete fiber.
Definition: ComputePivots.cc:113
Section fiber.
Definition: Fiber.h:90
Pos3d calcPositionPivotC(void) const
Intersection of uniform strain (typically 2%) line and line BD.
Definition: ComputePivots.cc:121
Fiber pointers container.
Definition: FiberPtrDeque.h:68
ComputePivots(const PivotsUltimateStrains &ap, const FiberContainer &fs, const FiberPtrDeque &fsC, const FiberPtrDeque &fsS, const double &theta)
Constructor.
Definition: ComputePivots.cc:56
Fiber container.
Definition: FiberContainer.h:41
Posición en tres dimensiones.
Definition: Pos3d.h:44
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Given a bending plane, computes the "pivots" position on the section.
Definition: ComputePivots.h:48
Definition of ultimate strains for the pivots of a reinforced concrete sections.
Definition: PivotsUltimateStrains.h:41
const Fiber * getFiberCMaxY(void) const
Return a pointer to the fiber with the maximum y coordinate from those of the CFibers (concrete fiber...
Definition: ComputePivots.cc:77
Three-dimensional reference system defined in a three-dimensional space.
Definition: Ref3d3d.h:39