InterpolateQPPosition< DeviceType > Struct Template Reference

Kynema API: kynema::beams::InterpolateQPPosition< DeviceType > Struct Template Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema::beams::InterpolateQPPosition< DeviceType > Struct Template Reference

Interpolates quadrature point positions from nodal positions using shape functions. More...

#include <interpolate_QP_position.hpp>

Public Types

template<typename ValueType >
using View = Kokkos::View< ValueType, DeviceType >
 
template<typename ValueType >
using ConstView = typename View< ValueType >::const_type
 

Public Member Functions

KOKKOS_FUNCTION void operator() (int element) const
 

Public Attributes

ConstView< size_t * > num_nodes_per_element
 
ConstView< size_t * > num_qps_per_element
 
ConstView< double *** > shape_interpolation
 
ConstView< double **[7]> node_position_rotation
 
View< double **[3]> qp_position
 

Detailed Description

template<typename DeviceType>
struct kynema::beams::InterpolateQPPosition< DeviceType >

Interpolates quadrature point positions from nodal positions using shape functions.

This functor computes the global positions of quadrature points by interpolating from the nodal positions using shape functions:

  • Takes nodal positions and rotations for each element
  • Uses pre-computed shape function weights for interpolation
  • Computes the position vector (x,y,z) for each quadrature point

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::beams::InterpolateQPPosition< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ View

template<typename DeviceType >
template<typename ValueType >
using kynema::beams::InterpolateQPPosition< DeviceType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_FUNCTION void kynema::beams::InterpolateQPPosition< DeviceType >::operator() ( int  element) const
inline

Member Data Documentation

◆ node_position_rotation

template<typename DeviceType >
ConstView<double** [7]> kynema::beams::InterpolateQPPosition< DeviceType >::node_position_rotation

◆ num_nodes_per_element

template<typename DeviceType >
ConstView<size_t*> kynema::beams::InterpolateQPPosition< DeviceType >::num_nodes_per_element

◆ num_qps_per_element

template<typename DeviceType >
ConstView<size_t*> kynema::beams::InterpolateQPPosition< DeviceType >::num_qps_per_element

◆ qp_position

template<typename DeviceType >
View<double** [3]> kynema::beams::InterpolateQPPosition< DeviceType >::qp_position

◆ shape_interpolation

template<typename DeviceType >
ConstView<double***> kynema::beams::InterpolateQPPosition< DeviceType >::shape_interpolation

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