ContributeSpringsToSparseMatrix< CrsMatrixType > Struct Template Reference

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

A Kernel which sums the system matrix contributions computed at each of the nodes in a spring element into the correct location of the global CRS matrix. More...

#include <contribute_springs_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

double conditioner {}
 
ConstView< dof::FreedomSignature *[2]> element_freedom_signature
 
ConstView< size_t *[2][3]> element_freedom_table
 
ConstView< double *[2][2][3][3]> dense
 
CrsMatrixType sparse
 

Detailed Description

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

A Kernel which sums the system matrix contributions computed at each of the nodes in a spring element into the correct location of the global CRS matrix.

Member Typedef Documentation

◆ ColIdxType

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

◆ ConstView

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

◆ DeviceType

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

◆ member_type

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

◆ RowDataType

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

◆ TeamPolicy

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

◆ View

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ conditioner

template<typename CrsMatrixType >
double kynema::solver::ContributeSpringsToSparseMatrix< CrsMatrixType >::conditioner {}

◆ dense

template<typename CrsMatrixType >
ConstView<double* [2][2][3][3]> kynema::solver::ContributeSpringsToSparseMatrix< CrsMatrixType >::dense

◆ element_freedom_signature

template<typename CrsMatrixType >
ConstView<dof::FreedomSignature* [2]> kynema::solver::ContributeSpringsToSparseMatrix< CrsMatrixType >::element_freedom_signature

◆ element_freedom_table

template<typename CrsMatrixType >
ConstView<size_t* [2][3]> kynema::solver::ContributeSpringsToSparseMatrix< CrsMatrixType >::element_freedom_table

◆ sparse

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

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