UpdateLambdaPrediction< DeviceType > Struct Template Reference

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

A Kernel to update the predicted constraint Lagrange multiplier values at each nonlinear iteration. More...

#include <update_lambda_prediction.hpp>

Public Types

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

Public Member Functions

KOKKOS_FUNCTION void operator() (size_t constraint) const
 

Public Attributes

size_t num_system_dofs
 
ConstView< Kokkos::pair< size_t, size_t > * > row_range
 
ConstLeftView< double *[1]> x
 
View< double *[6]> lambda
 

Detailed Description

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

A Kernel to update the predicted constraint Lagrange multiplier values at each nonlinear iteration.

Member Typedef Documentation

◆ ConstLeftView

template<typename DeviceType >
template<typename ValueType >
using kynema::constraints::UpdateLambdaPrediction< DeviceType >::ConstLeftView = typename LeftView<ValueType>::const_type

◆ ConstView

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

◆ LeftView

template<typename DeviceType >
template<typename ValueType >
using kynema::constraints::UpdateLambdaPrediction< DeviceType >::LeftView = Kokkos::View<ValueType, Kokkos::LayoutLeft, DeviceType>

◆ View

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ lambda

template<typename DeviceType >
View<double* [6]> kynema::constraints::UpdateLambdaPrediction< DeviceType >::lambda

◆ num_system_dofs

template<typename DeviceType >
size_t kynema::constraints::UpdateLambdaPrediction< DeviceType >::num_system_dofs

◆ row_range

template<typename DeviceType >
ConstView<Kokkos::pair<size_t, size_t>*> kynema::constraints::UpdateLambdaPrediction< DeviceType >::row_range

◆ x

template<typename DeviceType >
ConstLeftView<double* [1]> kynema::constraints::UpdateLambdaPrediction< DeviceType >::x

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