/home/runner/work/kynema/kynema/kynema/src/elements/beams/populate_element_views.hpp File Reference

Kynema API: /home/runner/work/kynema/kynema/kynema/src/elements/beams/populate_element_views.hpp File Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
populate_element_views.hpp File Reference
#include <ranges>
#include <span>
#include <vector>
#include "beam_element.hpp"
#include "math/interpolation.hpp"
#include "model/node.hpp"

Go to the source code of this file.

Namespaces

namespace  kynema
 
namespace  kynema::beams
 

Functions

void kynema::beams::PopulateNodeX0 (const BeamElement &elem, std::span< const Node > nodes, const Kokkos::View< double *[7], Kokkos::LayoutStride, Kokkos::HostSpace > &node_x0)
 Populate the node initial position and orientation.
 
void kynema::beams::PopulateQPWeight (const BeamElement &elem, const Kokkos::View< double *, Kokkos::LayoutStride, Kokkos::HostSpace > &qp_weight)
 Populate the integration weights at each quadrature point.
 
std::vector< double > kynema::beams::MapNodePositions (const BeamElement &elem, std::span< const Node > nodes)
 Map node positions from [0,1] to [-1,1].
 
void kynema::beams::PopulateShapeFunctionValues (const BeamElement &elem, std::span< const Node > nodes, const Kokkos::View< double **, Kokkos::LayoutStride, Kokkos::HostSpace > &shape_interp)
 Populate shape function values at each quadrature point.
 
void kynema::beams::PopulateShapeFunctionDerivatives (const BeamElement &elem, std::span< const Node > nodes, const Kokkos::View< double **, Kokkos::LayoutStride, Kokkos::HostSpace > &shape_deriv)
 Populate shape function derivatives at each quadrature point.
 
std::vector< double > kynema::beams::MapSectionPositions (const BeamElement &elem)
 Map section positions from [0,1] to [-1,1].
 
void kynema::beams::PopulateQPMstar (const BeamElement &elem, const Kokkos::View< double *[6][6], Kokkos::LayoutStride, Kokkos::HostSpace > &qp_Mstar)
 Populate mass matrix values at each quadrature point.
 
void kynema::beams::PopulateQPCstar (const BeamElement &elem, const Kokkos::View< double *[6][6], Kokkos::LayoutStride, Kokkos::HostSpace > &qp_Cstar)
 Populate stiffness matrix values at each quadrature point.