30 #ifndef RegionContainer_h 31 #define RegionContainer_h 35 #include "material/section/repres/SectionMassProperties.h" 46 class CircularSectRegion;
47 class MaterialHandler;
57 typedef std::list<SectRegion *> l_reg;
58 typedef l_reg::reference reference;
59 typedef l_reg::const_reference const_reference;
60 typedef l_reg::iterator iterator;
61 typedef l_reg::const_iterator const_iterator;
64 void free_mem(
const size_t i);
77 inline size_t size(
void)
const 78 {
return l_reg::size(); }
79 inline bool empty(
void)
const 80 {
return l_reg::empty(); }
84 const_iterator begin(
void)
const;
85 const_iterator end(
void)
const;
110 Vector getCenterOfMassHomogenizedSection(
const double &E0)
const;
116 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
boost::python::list getRegionsContoursPy(void) const
Return the contours of the regions in a Python list.
Definition: RegionContainer.cc:192
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:446
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:293
Section composed of some regions.
Definition: RegionContainer.h:54
Posición en dos dimensiones.
Definition: Pos2d.h:41
boost::python::list getMaterialsPy(void)
Return a Python list of pointers to the different region materials.
Definition: RegionContainer.cc:175
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:279
double getAreaHomogenizedSection(const double &E0) const
Returns the homogenized area of the regions.
Definition: RegionContainer.cc:323
std::list< Polygon2d > getRegionsContours(void) const
Returns a list with the regions contours.
Definition: RegionContainer.cc:203
CircularSectRegion * newCircularRegion(const std::string &)
Aggregates a new circularl region.
Definition: RegionContainer.cc:95
std::list< Polygon2d > getContours(void) const
Return the regions contours.
Definition: RegionContainer.cc:212
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:246
QuadSectRegion * newQuadRegion(const std::string &)
Aggregates a new quadrilateral region.
Definition: RegionContainer.cc:80
BND2d getBnd(void) const
Return the regions boundary-.
Definition: RegionContainer.cc:219
MaterialHandler * material_handler
Material definition handler (searching,...).
Definition: RegionContainer.h:68
void Print(std::ostream &s) const
Print stuff.
Definition: RegionContainer.cc:477
std::set< const Material * > getMaterials(void) const
Return a list of const pointers to the different region materials.
Definition: RegionContainer.cc:147
~RegionContainer(void)
Destructor.
Definition: RegionContainer.cc:110
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:386
RegionContainer(MaterialHandler *ml)
Constructor.
Definition: RegionContainer.cc:62
RegionContainer & operator=(const RegionContainer &)
Assignment operator.
Definition: RegionContainer.cc:71
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:416
void clear(void)
Erases all regions.
Definition: RegionContainer.cc:114
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:135
Vector getCenterOfMassGrossSection(void) const
Returns the center of gravity of the gross cross-section.
Definition: RegionContainer.cc:255
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:307