CalculateConstraintOutput< DeviceType > Struct Template Reference

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

Kernel that calculates the output for a constraints, for use as feedback to controllers. More...

#include <calculate_constraint_output.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 constraint) const
 

Public Attributes

ConstView< ConstraintType * > type
 
ConstView< size_t * > target_node_index
 
ConstView< double *[3][3]> axes
 
ConstView< double *[7]> node_x0
 
ConstView< double *[7]> node_u
 
ConstView< double *[6]> node_udot
 
ConstView< double *[6]> node_uddot
 
View< double *[3]> outputs
 

Detailed Description

template<typename DeviceType>
struct kynema::constraints::CalculateConstraintOutput< DeviceType >

Kernel that calculates the output for a constraints, for use as feedback to controllers.

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::constraints::CalculateConstraintOutput< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ View

template<typename DeviceType >
template<typename ValueType >
using kynema::constraints::CalculateConstraintOutput< DeviceType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_FUNCTION void kynema::constraints::CalculateConstraintOutput< DeviceType >::operator() ( int  constraint) const
inline

Member Data Documentation

◆ axes

template<typename DeviceType >
ConstView<double* [3][3]> kynema::constraints::CalculateConstraintOutput< DeviceType >::axes

◆ node_u

template<typename DeviceType >
ConstView<double* [7]> kynema::constraints::CalculateConstraintOutput< DeviceType >::node_u

◆ node_uddot

template<typename DeviceType >
ConstView<double* [6]> kynema::constraints::CalculateConstraintOutput< DeviceType >::node_uddot

◆ node_udot

template<typename DeviceType >
ConstView<double* [6]> kynema::constraints::CalculateConstraintOutput< DeviceType >::node_udot

◆ node_x0

template<typename DeviceType >
ConstView<double* [7]> kynema::constraints::CalculateConstraintOutput< DeviceType >::node_x0

◆ outputs

template<typename DeviceType >
View<double* [3]> kynema::constraints::CalculateConstraintOutput< DeviceType >::outputs

◆ target_node_index

template<typename DeviceType >
ConstView<size_t*> kynema::constraints::CalculateConstraintOutput< DeviceType >::target_node_index

◆ type


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