CalculateConstraintsErrorSumSquares< DeviceType > Struct Template Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType > Struct Template Reference
Reduction Kernel which calculates the sum of the squares of the error for each constraint for use in computing system convergence. More...
#include <calculate_error_sum_squares.hpp>
Public Types | |
using | value_type = double |
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 constraint, double &err) const |
Public Attributes | |
double | atol |
double | rtol |
size_t | num_system_dofs |
ConstView< Kokkos::pair< size_t, size_t > * > | row_range |
ConstView< double *[6]> | lambda |
ConstLeftView< double *[1]> | x |
Detailed Description
template<typename DeviceType>
struct kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >
struct kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >
Reduction Kernel which calculates the sum of the squares of the error for each constraint for use in computing system convergence.
Member Typedef Documentation
◆ ConstLeftView
template<typename DeviceType >
template<typename ValueType >
using kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::ConstLeftView = typename LeftView<ValueType>::const_type |
◆ ConstView
template<typename DeviceType >
template<typename ValueType >
using kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::ConstView = typename View<ValueType>::const_type |
◆ LeftView
template<typename DeviceType >
template<typename ValueType >
using kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::LeftView = Kokkos::View<ValueType, Kokkos::LayoutLeft, DeviceType> |
◆ value_type
template<typename DeviceType >
using kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::value_type = double |
◆ View
template<typename DeviceType >
template<typename ValueType >
using kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::View = Kokkos::View<ValueType, DeviceType> |
Member Function Documentation
◆ operator()()
template<typename DeviceType >
|
inline |
Member Data Documentation
◆ atol
template<typename DeviceType >
double kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::atol |
◆ lambda
template<typename DeviceType >
ConstView<double* [6]> kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::lambda |
◆ num_system_dofs
template<typename DeviceType >
size_t kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::num_system_dofs |
◆ row_range
template<typename DeviceType >
ConstView<Kokkos::pair<size_t, size_t>*> kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::row_range |
◆ rtol
template<typename DeviceType >
double kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::rtol |
◆ x
template<typename DeviceType >
ConstLeftView<double* [1]> kynema::solver::CalculateConstraintsErrorSumSquares< DeviceType >::x |
The documentation for this struct was generated from the following file:
- /home/runner/work/kynema/kynema/kynema/src/solver/calculate_error_sum_squares.hpp
Generated by