UpdateGlobalPosition< DeviceType > Struct Template Reference

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

A Kernel to update the absolute position of each node based on the solver's current state and the initial absolute position. More...

#include <update_global_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 node) const
 

Public Attributes

ConstView< double *[7]> q
 
ConstView< double *[7]> x0
 
View< double *[7]> x
 

Detailed Description

template<typename DeviceType>
struct kynema::state::UpdateGlobalPosition< DeviceType >

A Kernel to update the absolute position of each node based on the solver's current state and the initial absolute position.

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::state::UpdateGlobalPosition< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ View

template<typename DeviceType >
template<typename ValueType >
using kynema::state::UpdateGlobalPosition< DeviceType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_FUNCTION void kynema::state::UpdateGlobalPosition< DeviceType >::operator() ( int  node) const
inline

Member Data Documentation

◆ q

template<typename DeviceType >
ConstView<double* [7]> kynema::state::UpdateGlobalPosition< DeviceType >::q

◆ x

template<typename DeviceType >
View<double* [7]> kynema::state::UpdateGlobalPosition< DeviceType >::x

◆ x0

template<typename DeviceType >
ConstView<double* [7]> kynema::state::UpdateGlobalPosition< DeviceType >::x0

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