CopyConstraintsToSparseMatrix< CrsMatrixType > Struct Template Reference

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

A Kernel which copies the gradient matrix contributions for the base and target node of a constraint to the correct locations in the global CRS matrix. More...

#include <copy_constraints_to_sparse_matrix.hpp>

Public Types

using DeviceType = typename CrsMatrixType::device_type
 
using RowDataType = typename CrsMatrixType::values_type::non_const_type
 
using ColIdxType = typename CrsMatrixType::staticcrsgraph_type::entries_type::non_const_type
 
using TeamPolicy = typename Kokkos::TeamPolicy< typename DeviceType::execution_space >
 
using member_type = typename TeamPolicy::member_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 void operator() (member_type member) const
 

Public Attributes

size_t num_system_rows {}
 
ConstView< Kokkos::pair< size_t, size_t > * > row_range
 
ConstView< dof::FreedomSignature * > base_node_freedom_signature
 
ConstView< dof::FreedomSignature * > target_node_freedom_signature
 
ConstView< size_t *[6]> base_node_freedom_table
 
ConstView< size_t *[6]> target_node_freedom_table
 
ConstView< double *[6][6]> base_dense
 
ConstView< double *[6][6]> target_dense
 
CrsMatrixType sparse
 

Detailed Description

template<typename CrsMatrixType>
struct kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >

A Kernel which copies the gradient matrix contributions for the base and target node of a constraint to the correct locations in the global CRS matrix.

Member Typedef Documentation

◆ ColIdxType

template<typename CrsMatrixType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::ColIdxType = typename CrsMatrixType::staticcrsgraph_type::entries_type::non_const_type

◆ ConstView

template<typename CrsMatrixType >
template<typename ValueType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::ConstView = typename View<ValueType>::const_type

◆ DeviceType

template<typename CrsMatrixType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::DeviceType = typename CrsMatrixType::device_type

◆ member_type

template<typename CrsMatrixType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::member_type = typename TeamPolicy::member_type

◆ RowDataType

template<typename CrsMatrixType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::RowDataType = typename CrsMatrixType::values_type::non_const_type

◆ TeamPolicy

template<typename CrsMatrixType >
using kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::TeamPolicy = typename Kokkos::TeamPolicy<typename DeviceType::execution_space>

◆ View

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

Member Function Documentation

◆ operator()()

template<typename CrsMatrixType >
KOKKOS_FUNCTION void kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::operator() ( member_type  member) const
inline

Member Data Documentation

◆ base_dense

template<typename CrsMatrixType >
ConstView<double* [6][6]> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::base_dense

◆ base_node_freedom_signature

template<typename CrsMatrixType >
ConstView<dof::FreedomSignature*> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::base_node_freedom_signature

◆ base_node_freedom_table

template<typename CrsMatrixType >
ConstView<size_t* [6]> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::base_node_freedom_table

◆ num_system_rows

template<typename CrsMatrixType >
size_t kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::num_system_rows {}

◆ row_range

template<typename CrsMatrixType >
ConstView<Kokkos::pair<size_t, size_t>*> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::row_range

◆ sparse

template<typename CrsMatrixType >
CrsMatrixType kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::sparse

◆ target_dense

template<typename CrsMatrixType >
ConstView<double* [6][6]> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::target_dense

◆ target_node_freedom_signature

template<typename CrsMatrixType >
ConstView<dof::FreedomSignature*> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::target_node_freedom_signature

◆ target_node_freedom_table

template<typename CrsMatrixType >
ConstView<size_t* [6]> kynema::solver::CopyConstraintsToSparseMatrix< CrsMatrixType >::target_node_freedom_table

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