OpenBeam
C++ library for static analysis of mechanical structures
Public Member Functions | Public Attributes | List of all members
openbeam::CLoadDistributedUniform Struct Reference

#include <loads.h>

Inheritance diagram for openbeam::CLoadDistributedUniform:
Inheritance graph
[legend]
Collaboration diagram for openbeam::CLoadDistributedUniform:
Collaboration graph
[legend]

Public Member Functions

 CLoadDistributedUniform (num_t q_, num_t vx, num_t vy, num_t vz)
 
void computeStressAndEquivalentLoads (const CElement *el, ElementStress &stress, std::vector< array6 > &loads) override
 
void loadParamsFromSet (const mrpt::containers::yaml &p, const EvaluationContext &ctx) override
 
void meshLoad (CStructureProblem &meshed_fem, const std::vector< size_t > &meshed_element_idxs, const size_t original_bar_idx, const CStructureProblem &original_fem) const override
 
mrpt::opengl::CSetOfObjects::Ptr getVisualization (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override
 
void getVisualization_init (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override
 
void getVisualization_pre (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override
 

Public Attributes

num_t q
 Load density (N/m)
 
num_t dir [3]
 Director vector, in GLOBAL coordinates.
 

Additional Inherited Members

- Public Types inherited from openbeam::CLoadOnBeam
using Ptr = std::shared_ptr< CLoadOnBeam >
 
using ConstPtr = std::shared_ptr< const CLoadOnBeam >
 
- Static Public Member Functions inherited from openbeam::CLoadOnBeam
static CLoadOnBeam::Ptr createLoadByName (const std::string &sName)
 

Detailed Description

Distributed, uniform load over the entire length of a beam with a q(N/m) and a director vector. Accepted parameters loadable from problem files:

Member Function Documentation

◆ loadParamsFromSet()

void openbeam::CLoadDistributedUniform::loadParamsFromSet ( const mrpt::containers::yaml &  p,
const EvaluationContext ctx 
)
overridevirtual

See declaration in base class

Implements openbeam::CLoadOnBeam.

◆ meshLoad()

void openbeam::CLoadDistributedUniform::meshLoad ( CStructureProblem meshed_fem,
const std::vector< size_t > &  meshed_element_idxs,
const size_t  original_bar_idx,
const CStructureProblem original_fem 
) const
overridevirtual

Decompose the distributed load as needed into the set of elements in which the original element has been meshed

Implements openbeam::CLoadOnBeam.


The documentation for this struct was generated from the following file: