ComputeSystemRowEntries< RowPtrType > Struct Template Reference

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

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

#include <compute_system_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 bool ElementContainsNode (size_t element, size_t node) const
 
KOKKOS_FUNCTION bool BaseContainsNode (size_t constraint, size_t dof_index) const
 
KOKKOS_FUNCTION bool TargetContainsNode (size_t constraint, size_t dof_index) const
 
KOKKOS_FUNCTION bool ConstraintContainsNode (size_t constraint, size_t dof_index) const
 
KOKKOS_FUNCTION ValueType ComputeEntriesInConstraint (size_t constraint) const
 
KOKKOS_FUNCTION ValueType ComputeEntriesInElement (size_t element) const
 
KOKKOS_FUNCTION void operator() (size_t node) const
 

Public Attributes

ConstView< size_t * > active_dofs
 
ConstView< size_t * > node_freedom_map_table
 
ConstView< size_t * > num_nodes_per_element
 
ConstView< size_t ** > node_state_indices
 
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 row_entries
 

Detailed Description

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

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

Member Typedef Documentation

◆ ConstView

template<typename RowPtrType >
template<typename value_type >
using kynema::solver::ComputeSystemRowEntries< RowPtrType >::ConstView = typename View<value_type>::const_type

◆ DeviceType

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

◆ ValueType

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

◆ View

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

Member Function Documentation

◆ BaseContainsNode()

template<typename RowPtrType >
KOKKOS_FUNCTION bool kynema::solver::ComputeSystemRowEntries< RowPtrType >::BaseContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

◆ ComputeEntriesInConstraint()

template<typename RowPtrType >
KOKKOS_FUNCTION ValueType kynema::solver::ComputeSystemRowEntries< RowPtrType >::ComputeEntriesInConstraint ( size_t  constraint) const
inline

◆ ComputeEntriesInElement()

template<typename RowPtrType >
KOKKOS_FUNCTION ValueType kynema::solver::ComputeSystemRowEntries< RowPtrType >::ComputeEntriesInElement ( size_t  element) const
inline

◆ ConstraintContainsNode()

template<typename RowPtrType >
KOKKOS_FUNCTION bool kynema::solver::ComputeSystemRowEntries< RowPtrType >::ConstraintContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

◆ ElementContainsNode()

template<typename RowPtrType >
KOKKOS_FUNCTION bool kynema::solver::ComputeSystemRowEntries< RowPtrType >::ElementContainsNode ( size_t  element,
size_t  node 
) const
inline

◆ operator()()

◆ TargetContainsNode()

template<typename RowPtrType >
KOKKOS_FUNCTION bool kynema::solver::ComputeSystemRowEntries< RowPtrType >::TargetContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

Member Data Documentation

◆ active_dofs

◆ base_active_dofs

◆ base_node_freedom_table

◆ node_freedom_map_table

◆ node_state_indices

◆ num_nodes_per_element

◆ row_entries

◆ row_range

◆ target_active_dofs

◆ target_node_freedom_table


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