CalculateDisplacement< DeviceType > Struct Template Reference

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

A Kernel for applying the computed change in state (displacement) to the previous state to get an estimate for the current state. More...

#include <calculate_displacement.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

double h
 
ConstView< double *[6]> q_delta
 
ConstView< double *[7]> q_prev
 
View< double *[7]> q
 

Detailed Description

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

A Kernel for applying the computed change in state (displacement) to the previous state to get an estimate for the current state.

Member Typedef Documentation

◆ ConstView

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

◆ View

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ h

template<typename DeviceType >
double kynema::state::CalculateDisplacement< DeviceType >::h

◆ q

template<typename DeviceType >
View<double* [7]> kynema::state::CalculateDisplacement< DeviceType >::q

◆ q_delta

template<typename DeviceType >
ConstView<double* [6]> kynema::state::CalculateDisplacement< DeviceType >::q_delta

◆ q_prev

template<typename DeviceType >
ConstView<double* [7]> kynema::state::CalculateDisplacement< DeviceType >::q_prev

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