|
OpenBeam
C++ library for static analysis of mechanical structures
|
#include <loads.h>

Public Types | |
| using | Ptr = std::shared_ptr< CLoadOnBeam > |
| using | ConstPtr = std::shared_ptr< const CLoadOnBeam > |
Public Member Functions | |
| virtual void | computeStressAndEquivalentLoads (const CElement *el, ElementStress &stress, std::vector< array6 > &loads)=0 |
| virtual void | loadParamsFromSet (const mrpt::containers::yaml &p, const EvaluationContext &ctx)=0 |
| virtual void | meshLoad (CStructureProblem &meshed_fem, const std::vector< size_t > &meshed_element_idxs, const size_t original_bar_idx, const CStructureProblem &original_fem) const =0 |
| virtual mrpt::viz::CSetOfObjects::Ptr | getVisualization (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const =0 |
| virtual void | getVisualization_init (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const |
| virtual void | getVisualization_pre (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const |
Static Public Member Functions | |
| static CLoadOnBeam::Ptr | createLoadByName (const std::string &sName) |
Static Protected Member Functions | |
| static void | readDirection (const mrpt::containers::yaml &p, const EvaluationContext &ctx, num_t dir[3]) |
Base for all loads that can be applied to beam, distributed or applied to a single point.
|
static |
Class factory from element name, or nullptr for an unknown element: Element names:
|
pure virtual |
Parse a set of parameters by (casi insensitive) name and set the element values from them. Each element must document the supported parameters and their meaning.
Implemented in openbeam::CLoadConcentratedForce, openbeam::CLoadDistributedTriangular, openbeam::CLoadDistributedUniform, and openbeam::CLoadConstTemperature.
|
pure virtual |
Decompose the distributed load as needed into the set of elements in which the original element has been meshed
Implemented in openbeam::CLoadConcentratedForce, openbeam::CLoadDistributedTriangular, openbeam::CLoadDistributedUniform, and openbeam::CLoadConstTemperature.
|
staticprotected |
Reads a load direction from the parameters "DX", "DY" and the optional "DZ" (default: 0) into dir, normalized to unit length. Throws if the vector is null.