CalculateSystemErrorSumSquares< DeviceType > Struct Template Reference

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

Reduction Kernel which calculates the sum of the square of the errors for each node in the system for use in computing the system convergence. More...

#include <calculate_error_sum_squares.hpp>

Public Types

using value_type = double
 
using TeamPolicy = typename Kokkos::TeamPolicy< typename DeviceType::execution_space >
 
using member_type = typename TeamPolicy::member_type
 
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 >
 
template<typename ValueType >
using ConstLeftView = typename LeftView< ValueType >::const_type
 

Public Member Functions

KOKKOS_INLINE_FUNCTION void operator() (size_t node, double &err) const
 

Public Attributes

double atol
 
double rtol
 
double h
 
ConstView< size_t * > active_dofs
 
ConstView< size_t * > node_freedom_map_table
 
ConstView< double *[6]> q_delta
 
ConstLeftView< double *[1]> x
 

Detailed Description

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

Reduction Kernel which calculates the sum of the square of the errors for each node in the system for use in computing the system convergence.

Member Typedef Documentation

◆ ConstLeftView

template<typename DeviceType >
template<typename ValueType >
using kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::ConstLeftView = typename LeftView<ValueType>::const_type

◆ ConstView

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

◆ LeftView

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

◆ member_type

template<typename DeviceType >
using kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::member_type = typename TeamPolicy::member_type

◆ TeamPolicy

template<typename DeviceType >
using kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::TeamPolicy = typename Kokkos::TeamPolicy<typename DeviceType::execution_space>

◆ value_type

template<typename DeviceType >
using kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::value_type = double

◆ View

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

Member Function Documentation

◆ operator()()

template<typename DeviceType >
KOKKOS_INLINE_FUNCTION void kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::operator() ( size_t  node,
double err 
) const
inline

Member Data Documentation

◆ active_dofs

template<typename DeviceType >
ConstView<size_t*> kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::active_dofs

◆ atol

template<typename DeviceType >
double kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::atol

◆ h

template<typename DeviceType >
double kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::h

◆ node_freedom_map_table

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

◆ q_delta

template<typename DeviceType >
ConstView<double* [6]> kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::q_delta

◆ rtol

template<typename DeviceType >
double kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::rtol

◆ x

template<typename DeviceType >
ConstLeftView<double* [1]> kynema::solver::CalculateSystemErrorSumSquares< DeviceType >::x

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