ComputeConstraintsColInds< RowPtrType, IndicesType > Struct Template Reference

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

A Kernel for computing the system constraints' contribution to the column indicies for the CRS matrix to be solved at each nonlinear iteration. More...

#include <compute_constraints_col_inds.hpp>

Public Types

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

Public Member Functions

KOKKOS_FUNCTION RowPtrValueType CalculateTargetInds (size_t constraint, RowPtrValueType dof_index) const
 
KOKKOS_FUNCTION RowPtrValueType CalculateBaseInds (size_t constraint, RowPtrValueType dof_index) const
 
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< size_t *[6]> base_node_freedom_table
 
ConstView< size_t *[6]> target_node_freedom_table
 
ConstView< Kokkos::pair< size_t, size_t > * > row_range
 
RowPtrType::const_type row_ptrs
 
IndicesType col_inds
 

Detailed Description

template<typename RowPtrType, typename IndicesType>
struct kynema::solver::ComputeConstraintsColInds< RowPtrType, IndicesType >

A Kernel for computing the system constraints' contribution to the column indicies for the CRS matrix to be solved at each nonlinear iteration.

Member Typedef Documentation

◆ ConstView

◆ DeviceType

◆ IndicesValueType

◆ RowPtrValueType

◆ View

template<typename ValueType >
using kynema::solver::ComputeConstraintsColInds< RowPtrType, IndicesType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ CalculateBaseInds()

◆ CalculateTargetInds()

◆ operator()()

Member Data Documentation

◆ base_active_dofs

◆ base_node_freedom_table

◆ col_inds

◆ num_system_dofs

◆ row_ptrs

◆ row_range

◆ target_active_dofs

◆ target_node_freedom_table


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