ContributeLambdaToVector< DeviceType > Struct Template Reference

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

A kernel which contributes the constraint Lagrange multiplier terms to the correct locations in the global RHS vector. More...

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

Public Member Functions

KOKKOS_FUNCTION void operator() (size_t constraint) const
 

Public Attributes

ConstView< dof::FreedomSignature * > base_node_freedom_signature
 
ConstView< dof::FreedomSignature * > target_node_freedom_signature
 
ConstView< size_t *[6]> base_node_freedom_table
 
ConstView< size_t *[6]> target_node_freedom_table
 
ConstView< double *[6]> base_lambda_residual_terms
 
ConstView< double *[6]> target_lambda_residual_terms
 
LeftView< double *[1]> R
 

Detailed Description

template<typename DeviceType>
struct kynema::solver::ContributeLambdaToVector< DeviceType >

A kernel which contributes the constraint Lagrange multiplier terms to the correct locations in the global RHS vector.

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::ContributeLambdaToVector< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ LeftView

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::ContributeLambdaToVector< DeviceType >::LeftView = Kokkos::View<ValueType, Kokkos::LayoutLeft, DeviceType>

◆ View

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::ContributeLambdaToVector< DeviceType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ base_lambda_residual_terms

template<typename DeviceType >
ConstView<double* [6]> kynema::solver::ContributeLambdaToVector< DeviceType >::base_lambda_residual_terms

◆ base_node_freedom_signature

template<typename DeviceType >
ConstView<dof::FreedomSignature*> kynema::solver::ContributeLambdaToVector< DeviceType >::base_node_freedom_signature

◆ base_node_freedom_table

template<typename DeviceType >
ConstView<size_t* [6]> kynema::solver::ContributeLambdaToVector< DeviceType >::base_node_freedom_table

◆ R

template<typename DeviceType >
LeftView<double* [1]> kynema::solver::ContributeLambdaToVector< DeviceType >::R

◆ target_lambda_residual_terms

template<typename DeviceType >
ConstView<double* [6]> kynema::solver::ContributeLambdaToVector< DeviceType >::target_lambda_residual_terms

◆ target_node_freedom_signature

template<typename DeviceType >
ConstView<dof::FreedomSignature*> kynema::solver::ContributeLambdaToVector< DeviceType >::target_node_freedom_signature

◆ target_node_freedom_table

template<typename DeviceType >
ConstView<size_t* [6]> kynema::solver::ContributeLambdaToVector< DeviceType >::target_node_freedom_table

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