ComputeSystemColInds< RowPtrType, IndicesType > Struct Template Reference

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

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

#include <compute_system_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 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 RowPtrValueType ComputeColIndsInElement (size_t element, size_t node, RowPtrValueType index) const
 
KOKKOS_FUNCTION RowPtrValueType ComputeColIndsInConstraint (size_t constraint, RowPtrValueType index) const
 
KOKKOS_FUNCTION void operator() (size_t node) const
 

Public Attributes

size_t num_system_dofs {}
 
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::const_type row_ptrs
 
IndicesType col_inds
 

Detailed Description

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

A Kernel for computing the system elements' 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::ComputeSystemColInds< RowPtrType, IndicesType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ BaseContainsNode()

KOKKOS_FUNCTION bool kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::BaseContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

◆ ComputeColIndsInConstraint()

KOKKOS_FUNCTION RowPtrValueType kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::ComputeColIndsInConstraint ( size_t  constraint,
RowPtrValueType  index 
) const
inline

◆ ComputeColIndsInElement()

KOKKOS_FUNCTION RowPtrValueType kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::ComputeColIndsInElement ( size_t  element,
size_t  node,
RowPtrValueType  index 
) const
inline

◆ ConstraintContainsNode()

KOKKOS_FUNCTION bool kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::ConstraintContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

◆ ElementContainsNode()

KOKKOS_FUNCTION bool kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::ElementContainsNode ( size_t  element,
size_t  node 
) const
inline

◆ operator()()

◆ TargetContainsNode()

KOKKOS_FUNCTION bool kynema::solver::ComputeSystemColInds< RowPtrType, IndicesType >::TargetContainsNode ( size_t  constraint,
size_t  dof_index 
) const
inline

Member Data Documentation

◆ active_dofs

◆ base_active_dofs

◆ base_node_freedom_table

◆ col_inds

◆ node_freedom_map_table

◆ node_state_indices

◆ num_nodes_per_element

◆ 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: