30 #ifndef RegionContainer_h 31 #define RegionContainer_h 34 #include "material/section/repres/SectionMassProperties.h" 45 class CircularSectRegion;
46 class MaterialHandler;
56 typedef std::list<SectRegion *> l_reg;
57 typedef l_reg::reference reference;
58 typedef l_reg::const_reference const_reference;
59 typedef l_reg::iterator iterator;
60 typedef l_reg::const_iterator const_iterator;
63 void free_mem(
const size_t i);
76 inline size_t size(
void)
const 77 {
return l_reg::size(); }
78 inline bool empty(
void)
const 79 {
return l_reg::empty(); }
83 const_iterator begin(
void)
const;
84 const_iterator end(
void)
const;
95 BND2d getBnd(
void)
const;
104 Vector getCenterOfMassHomogenizedSection(
const double &E0)
const;
110 void Print(std::ostream &s)
const;
Circular shaped patch.
Definition: CircularSectRegion.h:46
"boundary" en dos dimensiones.
Definition: BND2d.h:38
Float vector abstraction.
Definition: Vector.h:94
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:392
double getIzGrossSection(void) const
Returns the moment of inertia of the gross cross-section with respect to the axis parallel to z axis ...
Definition: RegionContainer.cc:239
Section composed of some regions.
Definition: RegionContainer.h:53
Posición en dos dimensiones.
Definition: Pos2d.h:41
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:225
double getAreaHomogenizedSection(const double &E0) const
Returns the homogenized area of the regions.
Definition: RegionContainer.cc:269
std::list< Polygon2d > getRegionsContours(void) const
Returns a list with the regions contours.
Definition: RegionContainer.cc:150
CircularSectRegion * newCircularRegion(const std::string &)
Aggregates a new circularl region.
Definition: RegionContainer.cc:98
std::list< Polygon2d > getContours(void) const
Return the regions contours.
Definition: RegionContainer.cc:159
XC::SectRegion * push_back(const SectRegion ®)
Adds a region to the container.
Definition: RegionContainer.cc:121
double getAreaGrossSection(void) const
Returns the regions area.
Definition: RegionContainer.cc:192
QuadSectRegion * newQuadRegion(const std::string &)
Aggregates a new quadrilateral region.
Definition: RegionContainer.cc:83
MaterialHandler * material_handler
Material definition handler (searching,...).
Definition: RegionContainer.h:67
void Print(std::ostream &s) const
Print stuff.
Definition: RegionContainer.cc:423
~RegionContainer(void)
Destructor.
Definition: RegionContainer.cc:113
Quad that discretizes in quad cells.
Definition: QuadSectRegion.h:54
Polígono en dos dimensiones.
Definition: Polygon2d.h:38
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:332
RegionContainer(MaterialHandler *ml)
Constructor.
Definition: RegionContainer.cc:65
RegionContainer & operator=(const RegionContainer &)
Assignment operator.
Definition: RegionContainer.cc:74
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:362
void clear(void)
Erases all regions.
Definition: RegionContainer.cc:117
Material handler (definition, searching,...).
Definition: MaterialHandler.h:46
Region of a section that corresponds with a material.
Definition: SectRegion.h:58
Half plane in a two-dimensional space.
Definition: HalfPlane2d.h:38
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
size_t getNumCells(void) const
Returns the total number of cells.
Definition: RegionContainer.cc:138
Vector getCenterOfMassGrossSection(void) const
Returns the center of gravity of the gross cross-section.
Definition: RegionContainer.cc:201
Cross-section representation able to return mechanical propertis a area, moments of inertia...
Definition: SectionMassProperties.h:51
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:253