29 #ifndef RegionContainer_h 30 #define RegionContainer_h 33 #include "material/section/repres/SectionMassProperties.h" 44 class CircularSectRegion;
45 class MaterialHandler;
55 typedef std::list<SectRegion *> l_reg;
56 typedef l_reg::reference reference;
57 typedef l_reg::const_reference const_reference;
58 typedef l_reg::iterator iterator;
59 typedef l_reg::const_iterator const_iterator;
62 void free_mem(
const size_t i);
75 inline size_t size(
void)
const 76 {
return l_reg::size(); }
77 inline bool empty(
void)
const 78 {
return l_reg::empty(); }
82 const_iterator begin(
void)
const;
83 const_iterator end(
void)
const;
94 BND2d getBnd(
void)
const;
103 Vector getCenterOfMassHomogenizedSection(
const double &E0)
const;
109 void Print(std::ostream &s)
const;
Circular shaped patch.
Definition: CircularSectRegion.h:45
Float vector abstraction.
Definition: Vector.h:93
double getPyzHomogenizedSection(const double &E0) const
Returns homogenized product of inertia of the cross-section with respect to the axis parallel to y an...
Definition: RegionContainer.cc:377
double getIzGrossSection(void) const
Returns the moment of inertia of the gross cross-section with respect to the axis paralelo al z por e...
Definition: RegionContainer.cc:236
Section composed of some regions.
Definition: RegionContainer.h:52
double getIyGrossSection(void) const
Returns the moment of inertia of the gross cross-section with respect to the axis parallel to y passi...
Definition: RegionContainer.cc:222
double getAreaHomogenizedSection(const double &E0) const
Returns the homogenized area of the regions.
Definition: RegionContainer.cc:266
std::list< Polygon2d > getRegionsContours(void) const
Returns a list with the regions contours.
Definition: RegionContainer.cc:147
CircularSectRegion * newCircularRegion(const std::string &)
Aggregates a new circularl region.
Definition: RegionContainer.cc:96
std::list< Polygon2d > getContours(void) const
Return the regions contours.
Definition: RegionContainer.cc:156
XC::SectRegion * push_back(const SectRegion ®)
Adds a region to the container.
Definition: RegionContainer.cc:118
double getAreaGrossSection(void) const
Returns the regions area.
Definition: RegionContainer.cc:189
QuadSectRegion * newQuadRegion(const std::string &)
Aggregates a new quadrilateral region.
Definition: RegionContainer.cc:82
MaterialHandler * material_handler
Material definition handler (searching,...).
Definition: RegionContainer.h:66
void Print(std::ostream &s) const
Print stuff.
Definition: RegionContainer.cc:405
~RegionContainer(void)
Destructor.
Definition: RegionContainer.cc:110
Quad that discretizes in quad cells.
Definition: QuadSectRegion.h:53
double getIyHomogenizedSection(const double &E0) const
Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to y pas...
Definition: RegionContainer.cc:323
RegionContainer(MaterialHandler *ml)
Constructor.
Definition: RegionContainer.cc:64
RegionContainer & operator=(const RegionContainer &)
Assignment operator.
Definition: RegionContainer.cc:73
double getIzHomogenizedSection(const double &E0) const
Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to z pas...
Definition: RegionContainer.cc:350
void clear(void)
Erases all regions.
Definition: RegionContainer.cc:114
Material handler (definition, searching,...).
Definition: MaterialHandler.h:45
Region of a section that corresponds with a material.
Definition: SectRegion.h:57
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
size_t getNumCells(void) const
Returns the número total de celdas.
Definition: RegionContainer.cc:135
Vector getCenterOfMassGrossSection(void) const
Returns the centro de gravedad of the gross cross-section.
Definition: RegionContainer.cc:198
Cross-section representation able to return mechanical propertis a area, moments of inertia...
Definition: SectionMassProperties.h:49
double getPyzGrossSection(void) const
Returns the product of inertia of the gross cross-section respecto a los axis parallel to the y y al ...
Definition: RegionContainer.cc:250