CopyConstraintsResidualToVector< DeviceType > Struct Template Reference

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

A Kernel which copies the residual contributions for each constraint to their correct location in the global RHS vector. More...

#include <copy_constraints_residual_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

size_t start_row
 
ConstView< Kokkos::pair< size_t, size_t > * > row_range
 
ConstView< double *[6]> constraint_residual_terms
 
LeftView< double *[1]> residual
 

Detailed Description

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

A Kernel which copies the residual contributions for each constraint to their correct location in the global RHS vector.

Member Typedef Documentation

◆ ConstView

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

◆ LeftView

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

◆ View

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ constraint_residual_terms

template<typename DeviceType >
ConstView<double* [6]> kynema::solver::CopyConstraintsResidualToVector< DeviceType >::constraint_residual_terms

◆ residual

template<typename DeviceType >
LeftView<double* [1]> kynema::solver::CopyConstraintsResidualToVector< DeviceType >::residual

◆ row_range

template<typename DeviceType >
ConstView<Kokkos::pair<size_t, size_t>*> kynema::solver::CopyConstraintsResidualToVector< DeviceType >::row_range

◆ start_row

template<typename DeviceType >
size_t kynema::solver::CopyConstraintsResidualToVector< DeviceType >::start_row

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