xc
Public Types | Public Member Functions | Protected Attributes | List of all members

Section composed of some regions. More...

#include <RegionContainer.h>

Inheritance diagram for XC::RegionContainer:
Inheritance graph
[legend]
Collaboration diagram for XC::RegionContainer:
Collaboration graph
[legend]

Public Types

typedef std::list< SectRegion * > l_reg
 
typedef l_reg::reference reference
 
typedef l_reg::const_reference const_reference
 
typedef l_reg::iterator iterator
 
typedef l_reg::const_iterator const_iterator
 
- Public Types inherited from EntityWithProperties
typedef std::map< std::string, boost::python::object > PythonDict
 

Public Member Functions

 RegionContainer (MaterialHandler *ml)
 Constructor.
 
 RegionContainer (const RegionContainer &)
 Copy constructor.
 
RegionContaineroperator= (const RegionContainer &)
 Assignment operator.
 
 ~RegionContainer (void)
 Destructor.
 
XC::SectRegionpush_back (const SectRegion &reg)
 Adds a region to the container.
 
size_t size (void) const
 
bool empty (void) const
 
void clear (void)
 Erases all regions.
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
iterator begin (void)
 
iterator end (void)
 
QuadSectRegionnewQuadRegion (const std::string &)
 Aggregates a new quadrilateral region.
 
CircularSectRegionnewCircularRegion (const std::string &)
 Aggregates a new circularl region.
 
size_t getNumCells (void) const
 Returns the total number of cells.
 
std::list< Polygon2dgetRegionsContours (void) const
 Returns a list with the regions contours.
 
std::list< Polygon2dgetContours (void) const
 Return the regions contours.
 
BND2d getBnd (void) const
 
RegionContainer Intersection (const HalfPlane2d &) const
 
double getAreaGrossSection (void) const
 Returns the regions area.
 
Vector getCenterOfMassGrossSection (void) const
 Returns the center of gravity of the gross cross-section.
 
double getIyGrossSection (void) const
 Returns the moment of inertia of the gross cross-section with respect to the axis parallel to y passing through the centroid.
 
double getIzGrossSection (void) const
 Returns the moment of inertia of the gross cross-section with respect to the axis parallel to z axis through the centroid.
 
double getPyzGrossSection (void) const
 Returns the product of inertia of the gross cross-section respecto a los axis parallel to the y y al z por el centroid.
 
Vector getCenterOfMassHomogenizedSection (const double &E0) const
 
double getAreaHomogenizedSection (const double &E0) const
 Returns the homogenized area of the regions.
 
double getIyHomogenizedSection (const double &E0) const
 Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to y passing through the centroid. More...
 
double getIzHomogenizedSection (const double &E0) const
 Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to z passing through the centroid. More...
 
double getPyzHomogenizedSection (const double &E0) const
 Returns homogenized product of inertia of the cross-section with respect to the axis parallel to y and z passing through the centroid. More...
 
void Print (std::ostream &s) const
 Print stuff.
 
- Public Member Functions inherited from XC::SectionMassProperties
 SectionMassProperties (CommandEntity *owr=nullptr)
 Constructor.
 
double getIxGrossSection (void) const
 Inertia of the gross section about an axis parallel to x through his center of gravity. More...
 
double getTheta_pGrossSection (void) const
 Agle of the principal axis of inertia of the gross section with respect of current axis. More...
 
Vector getIAxisDir_aGrossSection (void) const
 Direction of a principal axis of inertia of the gross section with respect of current axis. More...
 
Vector getIAxisDir_bGrossSection (void) const
 Direction of the other principal axis of inertia of the gross section with respect of current axis. More...
 
double getI1GrossSection (void) const
 Major principal moment of inertia of the gross section.
 
double getI2GrossSection (void) const
 Minor principal moment of inertia of the gross section.
 
PrincipalAxesOfInertia2D getInertiaAxesGrossSection (void) const
 Principal axis of inertia of the gross section.
 
Vector2d getAxis1VDirGrossSection (void) const
 Direction of the major principal axis of inertia of the gross section. More...
 
Vector2d getVDirStrongAxisGrossSection (void) const
 Direction of the major principal axis of inertia of the gross section. More...
 
Vector2d getAxis2VDirGrossSection (void) const
 Direction of the minor principal axis of inertia of the gross section. More...
 
Vector2d getVDirWeakAxisGrossSection (void) const
 Direction of the minor principal axis of inertia of the gross section. More...
 
double getIGrossSection (const unsigned short int &, const unsigned short int &) const
 Return the i,j component of the tensor of inertia computed with respect to centroid. More...
 
double getIGrossSection (const unsigned short int &, const unsigned short int &, const Pos2d &) const
 Return the i,j component of the tensor of inertia computed with respect to the point "o". More...
 
double getIGrossSection (const Pos2d &, const Vector &) const
 Return the moment of inertia with respect to the axis that passes through O with the direction of e. More...
 
double getIGrossSection (const Line2d &) const
 Return the moment of inertia respecto a la recta being passed as parameter. More...
 
double getIOGrossSection (const Pos2d &) const
 Return the polar moment of inertia with respect to the point o.
 
Matrix getIGrossSection (void) const
 Return the tensor of inertia computed with respect to the object centroid. More...
 
Matrix getIGrossSection (const Pos2d &) const
 Return the tensor of inertia with respect to the point o.
 
double getIxHomogenizedSection (const double &) const
 Inertia of the homogenized section about an axis parallel to x through his center of gravity. More...
 
double getTheta_pHomogenizedSection (void) const
 Agle of the principal axis of inertia of the homogenized section with respect of current axis. More...
 
Vector getIAxisDir_aHomogenizedSection (void) const
 Direction of a principal axis of inertia of the homogenized section with respect of current axis. More...
 
Vector getIAxisDir_bHomogenizedSection (void) const
 Direction of the other axis of inertia of the homogenized section with respect of current axis. More...
 
double getI1HomogenizedSection (const double &) const
 Major principal moment of inertia of the homogenized section.
 
double getI2HomogenizedSection (const double &) const
 Minor principal moment of inertia of the homogenized section.
 
PrincipalAxesOfInertia2D getInertiaAxesHomogenizedSection (const double &) const
 Principal axis of inertia of the homogenized section.
 
Vector2d getAxis1VDirHomogenizedSection (const double &) const
 Direction of the major principal axis of inertia of the homogenized section. More...
 
Vector2d getVDirStrongAxisHomogenizedSection (const double &) const
 Direction of the major principal axis of inertia of the homogenized section. More...
 
Vector2d getAxis2VDirHomogenizedSection (const double &) const
 Direction of the minor principal axis of inertia of the homogenized section. More...
 
Vector2d getVDirWeakAxisHomogenizedSection (const double &) const
 Direction of the minor principal axis of inertia of the homogenized section. More...
 
double getIHomogenizedSection (const double &, const unsigned short int &, const unsigned short int &) const
 tensor of inertia (i,j) component of the homogenized section.
 
double getIHomogenizedSection (const double &, const unsigned short int &, const unsigned short int &, const Pos2d &) const
 Return the i,j component of the tensor of inertia computed with respect to the point "o". More...
 
double getIHomogenizedSection (const double &, const Pos2d &, const Vector &) const
 Return the moment of inertia with respect to the axis that passes through O with the direction of e. More...
 
double getIHomogenizedSection (const double &, const Line2d &) const
 Return the moment of inertia respecto a la recta being passed as parameter. More...
 
double getIOHomogenizedSection (const double &, const Pos2d &) const
 Return the polar moment of inertia with respect to the point o.
 
Matrix getIHomogenizedSection (const double &) const
 Return the tensor of inertia computed with respect to the object centroid. More...
 
Matrix getIHomogenizedSection (const double &, const Pos2d &) const
 Return the tensor of inertia with respect to the point o.
 
CrossSectionProperties3d getCrossSectionProperties3d (const CrossSectionProperties3d &) const
 Return the 3D mass properties of the homogenized section.
 
CrossSectionProperties2d getCrossSectionProperties2d (const CrossSectionProperties2d &) const
 Return the 2D mass properties of the homogenized section.
 
CrossSectionProperties1d getCrossSectionProperties1d (const CrossSectionProperties1d &) const
 Return the 1D mass properties of the homogenized section.
 
- Public Member Functions inherited from CommandEntity
 CommandEntity (CommandEntity *owr=nullptr)
 Default constructor.
 
CommandEntityOwner (void)
 Return a pointer to the object owner.
 
const CommandEntityOwner (void) const
 Return un puntero al objeto propietario de ESTE.
 
const StandardOutputWrappergetStandardOutputWrapper (void) const
 Return the regular output stream wrapper.
 
StandardOutputWrappergetStandardOutputWrapper (void)
 Return the regular output stream wrapper.
 
const std::string & getLogFileName (void) const
 Returns log file name.
 
void setLogFileName (const std::string &)
 Sets log file name.
 
const std::string & getErrFileName (void) const
 Returns err file name.
 
void setErrFileName (const std::string &)
 Sets error file name.
 
const std::string & getOutputFileName (void) const
 Returns regular output file name.
 
void setOutputFileName (const std::string &)
 Sets regular output file name.
 
boost::python::object evalPy (boost::python::object dict, const std::string &)
 Return the Python object that results from evaluating the argument.
 
boost::python::object execPy (boost::python::object dict, const std::string &)
 Return the Python objects that results from executing the code in the string argument.
 
boost::python::object execFilePy (boost::python::object dict, const std::string &)
 Return the Python object that results from executing the code in the file.
 
- Public Member Functions inherited from EntityWithProperties
 EntityWithProperties (EntityWithProperties *owr=nullptr)
 Default constructor.
 
void clearPyProps (void)
 Clear python properties map.
 
bool hasPyProp (const std::string &)
 Returns true if property exists.
 
boost::python::object getPyProp (const std::string &str)
 Return the Python object with the name being passed as parameter.
 
void setPyProp (std::string str, boost::python::object val)
 Sets/appends a value tho the Python object's dictionary.
 
void copyPropsFrom (const EntityWithProperties &)
 Copy the properties from the argument.
 
boost::python::list getPropNames (void) const
 Return the names of the object properties weightings.
 
const PythonDict & getPropertiesDict (void) const
 Return a std::map container with the properties of the object.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary containing the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from EntityWithOwner
 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwneroperator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (void) const
 

Protected Attributes

MaterialHandlermaterial_handler
 Material definition handler (searching,...).
 

Additional Inherited Members

- Static Public Member Functions inherited from CommandEntity
static void resetStandardOutput (void)
 Reset the standard output streams to its defaults buffers.
 
- Static Public Member Functions inherited from EntityWithOwner
static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 
- Protected Member Functions inherited from CommandEntity
template<class T >
void string_to (T &, const std::string &) const
 
- Protected Member Functions inherited from EntityWithProperties
bool isEqual (const EntityWithProperties &) const
 Return true if both objects are equal.
 
- Protected Member Functions inherited from EntityWithOwner
virtual bool isEqual (const EntityWithOwner &) const
 Return true if both objects are equal.
 
- Static Protected Member Functions inherited from CommandEntity
static CommandEntityentcmd_cast (boost::any &data)
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Section composed of some regions.

Member Function Documentation

◆ getIyHomogenizedSection()

double XC::RegionContainer::getIyHomogenizedSection ( const double &  E0) const
virtual

Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to y passing through the centroid.

Parameters
E0Reference elastic modulus.

Implements XC::SectionMassProperties.

◆ getIzHomogenizedSection()

double XC::RegionContainer::getIzHomogenizedSection ( const double &  E0) const
virtual

Returns homogenized moment of inertia of the cross-section with respect to the axis parallel to z passing through the centroid.

Parameters
E0Reference elastic modulus.

Implements XC::SectionMassProperties.

◆ getPyzHomogenizedSection()

double XC::RegionContainer::getPyzHomogenizedSection ( const double &  E0) const
virtual

Returns homogenized product of inertia of the cross-section with respect to the axis parallel to y and z passing through the centroid.

Parameters
E0Reference elastic modulus.

Implements XC::SectionMassProperties.


The documentation for this class was generated from the following files: