xc
ComputePivots.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 //ComputePivots.h
28 //Computes the pivots for a bending plane.
29 
30 
31 #ifndef COMPUTEPIVOTS_H
32 #define COMPUTEPIVOTS_H
33 
34 #include "xc_utils/src/geom/sis_ref/Ref3d3d.h"
35 
36 namespace XC {
37 
38 class PivotsUltimateStrains;
39 class FiberPtrDeque;
40 class FiberContainer;
41 class Fiber;
42 
44 //
47 class ComputePivots: public Ref3d3d
48  {
49  const PivotsUltimateStrains &agot_pivots;
50  const FiberContainer &fibers;
51  const FiberPtrDeque &CFibers;
52  const FiberPtrDeque &SFibers;
53  public:
54  ComputePivots(const PivotsUltimateStrains &ap,const FiberContainer &fs,const FiberPtrDeque &fsC,const FiberPtrDeque &fsS,const double &theta);
55  const Fiber *getFiberCMinY(void) const;
56  const Fiber *getFiberSMinY(void) const;
57  const Fiber *getFiberCMaxY(void) const;
58  Pos3d getDPoint(void) const;
59  Pos3d calcPositionPivotA(void) const;
60  Pos3d calcPositionPivotB(void) const;
61  Pos3d calcPositionPivotC(void) const;
62  };
63 
64 } // end of XC namespace
65 
66 #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:89
Pos3d calcPositionPivotC(void) const
Intersection of uniform strain (typically 2%) line and line BD.
Definition: ComputePivots.cc:121
Fiber pointers container.
Definition: FiberPtrDeque.h:66
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:40
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Given a bending plane, computes the "pivots" position on the section.
Definition: ComputePivots.h:47
Definition of ultimate strains for the pivots.
Definition: PivotsUltimateStrains.h:39
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