ComputeConstraintsRowEntries< RowPtrType > Struct Template Reference

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

Kernel to compute the constraints' contribution to the row pointers of the CRS matrix. More...

#include <compute_constraints_row_entries.hpp>

Public Types

using ValueType = typename RowPtrType::value_type
 
using DeviceType = typename RowPtrType::device_type
 
template<typename value_type >
using View = Kokkos::View< value_type, DeviceType >
 
template<typename value_type >
using ConstView = typename View< value_type >::const_type
 

Public Member Functions

KOKKOS_FUNCTION void operator() (size_t constraint) const
 

Public Attributes

size_t num_system_dofs {}
 
ConstView< size_t * > base_active_dofs
 
ConstView< size_t * > target_active_dofs
 
ConstView< Kokkos::pair< size_t, size_t > * > row_range
 
RowPtrType row_entries
 

Detailed Description

template<typename RowPtrType>
struct kynema::solver::ComputeConstraintsRowEntries< RowPtrType >

Kernel to compute the constraints' contribution to the row pointers of the CRS matrix.

Member Typedef Documentation

◆ ConstView

◆ DeviceType

template<typename RowPtrType >
using kynema::solver::ComputeConstraintsRowEntries< RowPtrType >::DeviceType = typename RowPtrType::device_type

◆ ValueType

template<typename RowPtrType >
using kynema::solver::ComputeConstraintsRowEntries< RowPtrType >::ValueType = typename RowPtrType::value_type

◆ View

template<typename RowPtrType >
template<typename value_type >
using kynema::solver::ComputeConstraintsRowEntries< RowPtrType >::View = Kokkos::View<value_type, DeviceType>

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ base_active_dofs

◆ num_system_dofs

◆ row_entries

◆ row_range

◆ target_active_dofs


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