CalculateRevoluteJointForce< DeviceType > Struct Template Reference

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

Kernel for calculating the force applied to the system residual as the result of a revolute joint constraint. More...

#include <calculate_revolute_joint_force.hpp>

Public Types

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

Static Public Member Functions

static KOKKOS_FUNCTION void invoke (const ConstView< double[3][3]> &axes, const ConstView< double[7]> &inputs, const ConstView< double[7]> &node_u, const View< double[6]> &system_residual_terms)
 

Detailed Description

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

Kernel for calculating the force applied to the system residual as the result of a revolute joint constraint.

Member Typedef Documentation

◆ ConstView

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

◆ View

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

Member Function Documentation

◆ invoke()

template<typename DeviceType >
static KOKKOS_FUNCTION void kynema::constraints::CalculateRevoluteJointForce< DeviceType >::invoke ( const ConstView< double[3][3]> &  axes,
const ConstView< double[7]> &  inputs,
const ConstView< double[7]> &  node_u,
const View< double[6]> &  system_residual_terms 
)
inlinestatic

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