OpenBeam
C++ library for static analysis of mechanical structures
|
#include <CElementBeam_2D_RR.h>
Public Member Functions | |
CElementBeam_2D_RR (const size_t from_node_id, const size_t to_node_id) | |
void | getLocalStiffnessMatrices (std::vector< TStiffnessSubmatrix > &outSubMats) const override |
void | getLocalDoFs (std::vector< used_DoFs_t > &dofs) const override |
Public Member Functions inherited from openbeam::CBaseElementBeam | |
CBaseElementBeam (const bool pinned_end0, const bool pinned_end1) | |
CBaseElementBeam (const size_t from_node_id, const size_t to_node_id, const bool pinned_end0, const bool pinned_end1) | |
void | copyCommonBeamParamsFrom (const CBaseElementBeam &o) |
std::string | asString () const override |
void | drawSVG (void *_cairo_context, const DrawStructureOptions &options, const RenderInitData &ri, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override |
mrpt::opengl::CSetOfObjects::Ptr | getVisualization (const DrawStructureOptions &o, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override |
void | do_mesh (const size_t my_idx, CStructureProblem &out_fem, MeshOutputInfo &out_info, const MeshParams ¶ms) override |
void | loadParamsFromSet (const mrpt::containers::yaml &p, const EvaluationContext &ctx) override |
Public Member Functions inherited from openbeam::CElement | |
unsigned char | getNumberEdges () const |
void | getGlobalDoFs (std::vector< used_DoFs_t > &dofs) const |
virtual void | getGlobalStiffnessMatrices (std::vector< TStiffnessSubmatrix > &outSubMats) const |
void | setGlobalOrientation (const TRotation3D &new_orientation) |
const TRotation3D & | getGlobalOrientation () const |
virtual void | updateOrientationFromNodePositions () |
void | setDesignRotationAroundLinearAxis (num_t ang) |
void | setParent (CFiniteElementProblem *parent) |
void | loadParamsFromSet (const mrpt::containers::yaml &p) |
CFiniteElementProblem * | getParent () const |
Additional Inherited Members | |
Public Types inherited from openbeam::CBaseElementBeam | |
using | Ptr = std::shared_ptr< CBaseElementBeam > |
using | ConstPtr = std::shared_ptr< const CBaseElementBeam > |
Public Types inherited from openbeam::CElement | |
using | Ptr = std::shared_ptr< CElement > |
using | ConstPtr = std::shared_ptr< const CElement > |
Static Public Member Functions inherited from openbeam::CElement | |
static Ptr | createElementByName (const std::string &sName) |
Public Attributes inherited from openbeam::CBaseElementBeam | |
num_t | E = UNINITIALIZED_VALUE |
Young modulus (N/m^2) | |
num_t | A = UNINITIALIZED_VALUE |
Section (m^2) | |
num_t | Iz = UNINITIALIZED_VALUE |
Section inertia moment (m^4) | |
num_t | G = 0 |
Shear modulus of elasticity (N/m^2) | |
num_t | J = 0 |
Polar moment of inertia (m^4) | |
Public Attributes inherited from openbeam::CElement | |
std::vector< size_t > | conected_nodes_ids |
Protected Member Functions inherited from openbeam::CElement | |
CElement (unsigned char nEdges) | |
CElement (unsigned char nEdges, const size_t from_node_id, const size_t to_node_id) | |
Protected Attributes inherited from openbeam::CElement | |
const unsigned char | m_nEdges |
CFiniteElementProblem * | m_parent |
num_t | m_design_rotation_around_linear_axis |
For linear elements, the rotation around +X(local) | |
TRotation3D | m_global_orientation |
Orientation of the element wrt global coords. | |
A 2D beam element whose two ends are "rigid" links (x,y,phi).
|
overridevirtual |
Must return which DoFs are used in the returned Stiffness matrices
Implements openbeam::CElement.
|
overridevirtual |
Return the stiffness submatrices between each pair of edges in this element, for the current element state.
Implements openbeam::CElement.