Springs< DeviceType > Struct Template Reference

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

Contains field variables for spring elements to compute per-element contributions to the residual vector and system/iteration matrix. More...

#include <springs.hpp>

Public Types

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

Public Member Functions

 Springs (const size_t n_spring_elems)
 

Public Attributes

size_t num_elems
 
View< size_t * > num_nodes_per_element
 
View< size_t *[2]> node_state_indices
 
View< dof::FreedomSignature *[2]> element_freedom_signature
 
View< size_t *[2][3]> element_freedom_table
 
View< double *[3]> x0
 
View< double * > l_ref
 
View< double * > k
 
View< double *[2][3]> residual_vector_terms
 
View< double *[2][2][3][3]> stiffness_matrix_terms
 

Detailed Description

template<typename DeviceType>
struct kynema::Springs< DeviceType >

Contains field variables for spring elements to compute per-element contributions to the residual vector and system/iteration matrix.

Member Typedef Documentation

◆ View

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

Constructor & Destructor Documentation

◆ Springs()

template<typename DeviceType >
kynema::Springs< DeviceType >::Springs ( const size_t  n_spring_elems)
inlineexplicit

Member Data Documentation

◆ element_freedom_signature

template<typename DeviceType >
View<dof::FreedomSignature* [2]> kynema::Springs< DeviceType >::element_freedom_signature

◆ element_freedom_table

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

◆ k

template<typename DeviceType >
View<double*> kynema::Springs< DeviceType >::k

◆ l_ref

template<typename DeviceType >
View<double*> kynema::Springs< DeviceType >::l_ref

◆ node_state_indices

template<typename DeviceType >
View<size_t* [2]> kynema::Springs< DeviceType >::node_state_indices

◆ num_elems

template<typename DeviceType >
size_t kynema::Springs< DeviceType >::num_elems

◆ num_nodes_per_element

template<typename DeviceType >
View<size_t*> kynema::Springs< DeviceType >::num_nodes_per_element

◆ residual_vector_terms

template<typename DeviceType >
View<double* [2][3]> kynema::Springs< DeviceType >::residual_vector_terms

◆ stiffness_matrix_terms

template<typename DeviceType >
View<double* [2][2][3][3]> kynema::Springs< DeviceType >::stiffness_matrix_terms

◆ x0

template<typename DeviceType >
View<double* [3]> kynema::Springs< DeviceType >::x0

The documentation for this struct was generated from the following file:
  • /home/runner/work/kynema/kynema/kynema/src/elements/springs/springs.hpp