CalculateRigidJointConstraint< DeviceType > Struct Template Reference

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

Kernel for calculating the residual and system gradient for a rigid joint constraint with six degrees of freedom. More...

#include <calculate_rigid_joint_constraint.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]> &X0, const ConstView< double[7]> &base_node_u, const ConstView< double[7]> &target_node_u, const View< double[6]> &residual_terms, const View< double[6][6]> &base_gradient_terms, const View< double[6][6]> &target_gradient_terms)
 

Detailed Description

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

Kernel for calculating the residual and system gradient for a rigid joint constraint with six degrees of freedom.

Member Typedef Documentation

◆ ConstView

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

◆ View

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

Member Function Documentation

◆ invoke()

template<typename DeviceType >
static KOKKOS_FUNCTION void kynema::constraints::CalculateRigidJointConstraint< DeviceType >::invoke ( const ConstView< double[3]> &  X0,
const ConstView< double[7]> &  base_node_u,
const ConstView< double[7]> &  target_node_u,
const View< double[6]> &  residual_terms,
const View< double[6][6]> &  base_gradient_terms,
const View< double[6][6]> &  target_gradient_terms 
)
inlinestatic

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