CreateElementFreedomTable_Springs< DeviceType > Struct Template Reference

Kynema API: kynema::dof::CreateElementFreedomTable_Springs< DeviceType > Struct Template Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema::dof::CreateElementFreedomTable_Springs< DeviceType > Struct Template Reference

A Kernel that creates the element freedom table which maps each degree of freedom on the spring element to its global component number. More...

#include <create_element_freedom_table.hpp>

Public Types

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() (size_t element) const
 

Public Attributes

ConstView< size_t * > num_nodes_per_element
 
ConstView< size_t *[2]> node_state_indices
 
ConstView< size_t * > node_freedom_map_table
 
View< size_t *[2][3]> element_freedom_table
 

Detailed Description

template<typename DeviceType>
struct kynema::dof::CreateElementFreedomTable_Springs< DeviceType >

A Kernel that creates the element freedom table which maps each degree of freedom on the spring element to its global component number.

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ View

template<typename DeviceType >
template<typename ValueType >
using kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::View = Kokkos::View<ValueType, DeviceType>

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_FUNCTION void kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::operator() ( size_t  element) const
inline

Member Data Documentation

◆ element_freedom_table

template<typename DeviceType >
View<size_t* [2][3]> kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::element_freedom_table

◆ node_freedom_map_table

template<typename DeviceType >
ConstView<size_t*> kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::node_freedom_map_table

◆ node_state_indices

template<typename DeviceType >
ConstView<size_t* [2]> kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::node_state_indices

◆ num_nodes_per_element

template<typename DeviceType >
ConstView<size_t*> kynema::dof::CreateElementFreedomTable_Springs< DeviceType >::num_nodes_per_element

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