ContributeForcesToVector< DeviceType > Struct Template Reference

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

A Kernel which sums the nodal forces into the global RHS vector. More...

#include <contribute_forces_to_vector.hpp>

Public Types

template<typename ValueType >
using View = Kokkos::View< ValueType, DeviceType >
 
template<typename ValueType >
using ConstView = typename View< ValueType >::const_type
 
template<typename ValueType >
using LeftView = Kokkos::View< ValueType, Kokkos::LayoutLeft, DeviceType >
 

Public Member Functions

KOKKOS_FUNCTION void operator() (size_t node) const
 

Public Attributes

ConstView< dof::FreedomSignature * > node_freedom_allocation_table
 
ConstView< size_t * > node_freedom_map_table
 
ConstView< double ** > node_loads
 
LeftView< double *[1]> vector
 

Detailed Description

template<typename DeviceType>
struct kynema::solver::ContributeForcesToVector< DeviceType >

A Kernel which sums the nodal forces into the global RHS vector.

Member Typedef Documentation

◆ ConstView

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::ContributeForcesToVector< DeviceType >::ConstView = typename View<ValueType>::const_type

◆ LeftView

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::ContributeForcesToVector< DeviceType >::LeftView = Kokkos::View<ValueType, Kokkos::LayoutLeft, DeviceType>

◆ View

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

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_FUNCTION void kynema::solver::ContributeForcesToVector< DeviceType >::operator() ( size_t  node) const
inline

Member Data Documentation

◆ node_freedom_allocation_table

template<typename DeviceType >
ConstView<dof::FreedomSignature*> kynema::solver::ContributeForcesToVector< DeviceType >::node_freedom_allocation_table

◆ node_freedom_map_table

template<typename DeviceType >
ConstView<size_t*> kynema::solver::ContributeForcesToVector< DeviceType >::node_freedom_map_table

◆ node_loads

template<typename DeviceType >
ConstView<double**> kynema::solver::ContributeForcesToVector< DeviceType >::node_loads

◆ vector

template<typename DeviceType >
LeftView<double* [1]> kynema::solver::ContributeForcesToVector< DeviceType >::vector

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