29 #ifndef VectorReinfBar_h 30 #define VectorReinfBar_h 34 #include "material/section/repres/SectionMassProperties.h" 50 typedef std::vector<ReinfBar *> v_rfBar;
51 typedef v_rfBar::reference reference;
52 typedef v_rfBar::const_reference const_reference;
53 typedef v_rfBar::iterator iterator;
54 typedef v_rfBar::const_iterator const_iterator;
57 void free_mem(
const size_t i);
58 void alloc(
const size_t i,
const ReinfBar &c);
59 inline reference operator[](
const size_t i)
60 {
return v_rfBar::operator[](i); }
67 inline size_t size(
void)
const 68 {
return v_rfBar::size(); }
69 inline size_t empty(
void)
const 70 {
return v_rfBar::empty(); }
71 inline iterator begin(
void)
72 {
return v_rfBar::begin(); }
73 inline iterator end(
void)
74 {
return v_rfBar::end(); }
75 inline const_iterator begin(
void)
const 76 {
return v_rfBar::begin(); }
77 inline const_iterator end(
void)
const 78 {
return v_rfBar::end(); }
87 Vector getCenterOfMassHomogenizedSection(
const double &E0)
const;
92 void resize(
const size_t sz);
94 void put(
const size_t i,
const ReinfBar &c);
95 inline const_reference operator[](
const size_t i)
const 96 {
return v_rfBar::operator[](i); }
98 void Print(std::ostream &s)
const;
VectorReinfBar & operator=(const VectorReinfBar &)
Assignment operator.
Definition: VectorReinfBar.cc:83
Float vector abstraction.
Definition: Vector.h:93
double getIyHomogenizedSection(const double &E0) const
Returns homogenized moment of inertia of the cross-section with respecto to the axis parallel to y pa...
Definition: VectorReinfBar.cc:154
double getAreaGrossSection(void) const
Return gross area of rebars.
Definition: VectorReinfBar.cc:227
double getPyzGrossSection(void) const
Product of inertia of the gross section about y and z axis through his center of gravity.
Definition: VectorReinfBar.cc:280
void resize(const size_t sz)
Resizes vector.
Definition: VectorReinfBar.cc:296
double getIyGrossSection(void) const
Inertia of the gross section about an axis parallel to y through his center of gravity.
Definition: VectorReinfBar.cc:252
double getIzGrossSection(void) const
Inertia of the gross section about an axis parallel to z through his center of gravity.
Definition: VectorReinfBar.cc:266
VectorReinfBar(const size_t &sz=0)
Constructor.
Definition: VectorReinfBar.cc:66
double getIzHomogenizedSection(const double &E0) const
Returns homogenized moment of inertia of the cross-section with respecto to the axis parallel to z pa...
Definition: VectorReinfBar.cc:178
Reinforcement bars vector.
Definition: VectorReinfBar.h:47
double getAreaHomogenizedSection(const double &E0) const
Returns the homogenized area of the regions.
Definition: VectorReinfBar.cc:101
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Cross-section representation able to return mechanical propertis a area, moments of inertia...
Definition: SectionMassProperties.h:49
double getPyzHomogenizedSection(const double &E0) const
Returns homogenized product of inertia of the cross-section with respecto to the axis parallel to y a...
Definition: VectorReinfBar.cc:202
~VectorReinfBar(void)
Destructor.
Definition: VectorReinfBar.cc:97
Reinforcing bar.
Definition: ReinfBar.h:76
Vector getCenterOfMassGrossSection(void) const
Returns gross section centroid.
Definition: VectorReinfBar.cc:236