Represents the input data for creating flexible beams.
More...
#include <beams_input.hpp>
|
| | BeamsInput (std::span< const BeamElement > elems, std::span< const double, 3 > g) |
| |
| size_t | NumElements () const |
| | Returns the number of elements in the beam.
|
| |
| template<typename Accessor > |
| size_t | ComputeSum (Accessor accessor) const |
| | Computes the sum of a value across all elements.
|
| |
| template<typename Accessor > |
| size_t | ComputeMax (Accessor accessor) const |
| | Computes the maximum of a value across all elements.
|
| |
| size_t | NumNodes () const |
| | Returns the total number of nodes in the beam.
|
| |
| size_t | NumQuadraturePoints () const |
| | Returns the total number of quadrature points in the beam.
|
| |
| size_t | MaxElemNodes () const |
| | Returns the maximum number of nodes in any element of the beam.
|
| |
| size_t | MaxElemQuadraturePoints () const |
| | Returns the maximum number of quadrature points in any element of the beam.
|
| |
Represents the input data for creating flexible beams.
This struct encapsulates all necessary input parameters for instantiating flex beams in kynema-fmb i.e. the beam elements and environmental factors such as gravity. It also provides some utilities for computing properties such as
- total number of nodes/quadrature points
- maximum number of nodes/quadrature points per element etc.
◆ BeamsInput()
| kynema_fmb::BeamsInput::BeamsInput |
( |
std::span< const BeamElement > |
elems, |
|
|
std::span< const double, 3 > |
g |
|
) |
| |
|
inline |
◆ ComputeMax()
template<typename Accessor >
| size_t kynema_fmb::BeamsInput::ComputeMax |
( |
Accessor |
accessor | ) |
const |
|
inline |
Computes the maximum of a value across all elements.
◆ ComputeSum()
template<typename Accessor >
| size_t kynema_fmb::BeamsInput::ComputeSum |
( |
Accessor |
accessor | ) |
const |
|
inline |
Computes the sum of a value across all elements.
◆ MaxElemNodes()
| size_t kynema_fmb::BeamsInput::MaxElemNodes |
( |
| ) |
const |
|
inline |
Returns the maximum number of nodes in any element of the beam.
◆ MaxElemQuadraturePoints()
| size_t kynema_fmb::BeamsInput::MaxElemQuadraturePoints |
( |
| ) |
const |
|
inline |
Returns the maximum number of quadrature points in any element of the beam.
◆ NumElements()
| size_t kynema_fmb::BeamsInput::NumElements |
( |
| ) |
const |
|
inline |
Returns the number of elements in the beam.
◆ NumNodes()
| size_t kynema_fmb::BeamsInput::NumNodes |
( |
| ) |
const |
|
inline |
Returns the total number of nodes in the beam.
◆ NumQuadraturePoints()
| size_t kynema_fmb::BeamsInput::NumQuadraturePoints |
( |
| ) |
const |
|
inline |
Returns the total number of quadrature points in the beam.
◆ elements
| std::vector<BeamElement> kynema_fmb::BeamsInput::elements |
◆ gravity
| std::array<double, 3> kynema_fmb::BeamsInput::gravity |
The documentation for this struct was generated from the following file:
- /home/runner/work/kynema-fmb/kynema-fmb/kynema-fmb/src/elements/beams/beams_input.hpp