ContributeConstraintsSystemResidualToVector< DeviceType > Struct Template Reference

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

A Kernel which sums the system residual contributions for a constraint's target node into the correct location of the global RHS vector. More...

#include <contribute_constraints_system_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 i_constraint) const
 

Public Attributes

ConstView< size_t *[6]> target_node_freedom_table
 
ConstView< size_t * > target_active_dofs
 
ConstView< double *[6]> system_residual_terms
 
LeftView< double *[1]> residual
 

Detailed Description

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

A Kernel which sums the system residual contributions for a constraint's target node into the correct location of the global RHS vector.

Member Typedef Documentation

◆ ConstView

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

◆ LeftView

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

◆ View

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ residual

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

◆ system_residual_terms

template<typename DeviceType >
ConstView<double* [6]> kynema::solver::ContributeConstraintsSystemResidualToVector< DeviceType >::system_residual_terms

◆ target_active_dofs

template<typename DeviceType >
ConstView<size_t*> kynema::solver::ContributeConstraintsSystemResidualToVector< DeviceType >::target_active_dofs

◆ target_node_freedom_table

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

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