ComputeColInds< RowPtrType, IndicesType > Struct Template Reference

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

The top level function object for computing the column indicies for the CRS matrix to be solved at each nonlinear iteration. More...

#include <compute_col_inds.hpp>

Public Types

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

Static Public Member Functions

static IndicesType invoke (typename RowPtrType::value_type num_non_zero, size_t num_system_dofs, const ConstView< size_t * > &active_dofs, const ConstView< size_t * > &node_freedom_map_table, const ConstView< size_t * > &num_nodes_per_element, const ConstView< size_t ** > &node_state_indices, const ConstView< size_t * > &base_active_dofs, const ConstView< size_t * > &target_active_dofs, const ConstView< size_t *[6]> &base_node_freedom_table, const ConstView< size_t *[6]> &target_node_freedom_table, const ConstView< Kokkos::pair< size_t, size_t > * > &row_range, const typename RowPtrType::const_type &row_ptrs)
 

Detailed Description

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

The top level function object for computing the column indicies for the CRS matrix to be solved at each nonlinear iteration.

Member Typedef Documentation

◆ ConstView

◆ View

template<typename ValueType >
using kynema::solver::ComputeColInds< RowPtrType, IndicesType >::View = Kokkos::View<ValueType, typename RowPtrType::device_type>

Member Function Documentation

◆ invoke()

static IndicesType kynema::solver::ComputeColInds< RowPtrType, IndicesType >::invoke ( typename RowPtrType::value_type  num_non_zero,
size_t  num_system_dofs,
const ConstView< size_t * > &  active_dofs,
const ConstView< size_t * > &  node_freedom_map_table,
const ConstView< size_t * > &  num_nodes_per_element,
const ConstView< size_t ** > &  node_state_indices,
const ConstView< size_t * > &  base_active_dofs,
const ConstView< size_t * > &  target_active_dofs,
const ConstView< size_t *[6]> &  base_node_freedom_table,
const ConstView< size_t *[6]> &  target_node_freedom_table,
const ConstView< Kokkos::pair< size_t, size_t > * > &  row_range,
const typename RowPtrType::const_type &  row_ptrs 
)
inlinestatic

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