solver Namespace Reference

Kynema API: kynema::solver Namespace Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema::solver Namespace Reference

Classes

struct  CalculateConstraintsErrorSumSquares
 Reduction Kernel which calculates the sum of the squares of the error for each constraint for use in computing system convergence. More...
 
struct  CalculateSystemErrorSumSquares
 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...
 
struct  ComputeColInds
 The top level function object for computing the column indicies for the CRS matrix to be solved at each nonlinear iteration. More...
 
struct  ComputeConstraintsColInds
 A Kernel for computing the system constraints' contribution to the column indicies for the CRS matrix to be solved at each nonlinear iteration. More...
 
struct  ComputeConstraintsRowEntries
 Kernel to compute the constraints' contribution to the row pointers of the CRS matrix. More...
 
struct  ComputeNumSystemDofsReducer
 A Reduction kernel which sums the number of active degrees of freedom at each node. More...
 
struct  ComputeRowPtrs
 Top level function object for calculating the row pointers of the CRS matrix to be solved during each nonlinear iteration. More...
 
struct  ComputeSystemColInds
 A Kernel for computing the system elements' contribution to the column indicies for the CRS matrix to be solved at each nonlinear iteration. More...
 
struct  ComputeSystemRowEntries
 Kernel to compute the elements' contribution to the row pointers of the CRS matrix. More...
 
struct  ConditionR
 A Kernel which applies the given factor to the system RHS vector. More...
 
struct  ContributeBeamsToSparseMatrix
 A Kernel which sums the system matrix contributions computed at each node in a beam into the correct location of the global CRS matrix. More...
 
struct  ContributeBeamsToVector
 A Kernel which sums the residual contributions computed at each node in a beam into the correct location of the global RHS vector. More...
 
struct  ContributeConstraintsSystemResidualToVector
 A Kernel which sums the system residual contributions for a constraint's target node into the correct location of the global RHS vector. More...
 
struct  ContributeForcesToVector
 A Kernel which sums the nodal forces into the global RHS vector. More...
 
struct  ContributeLambdaToVector
 A kernel which contributes the constraint Lagrange multiplier terms to the correct locations in the global RHS vector. More...
 
struct  ContributeMassesToSparseMatrix
 A Kernel which sums the system matrix contributions computed at a mass element's node into the correct location of the global CRS matrix. More...
 
struct  ContributeMassesToVector
 A Kernel which sums the residual contributions computed at a mass element's node into the correct location of the global RHS vector. More...
 
struct  ContributeSpringsToSparseMatrix
 A Kernel which sums the system matrix contributions computed at each of the nodes in a spring element into the correct location of the global CRS matrix. More...
 
struct  ContributeSpringsToVector
 A Kernel which sums the residual contributions computed at each of the nodes in a spring element into the correct location of the global RHS vector. More...
 
struct  CopyConstraintsResidualToVector
 A Kernel which copies the residual contributions for each constraint to their correct location in the global RHS vector. More...
 
struct  CopyConstraintsToSparseMatrix
 A Kernel which copies the gradient matrix contributions for the base and target node of a constraint to the correct locations in the global CRS matrix. More...
 
struct  CopyConstraintsTransposeToSparseMatrix
 A Kernel which copies the transpose gradient matrix contributions for the base and target node of a constraint to the correct location in the global CRS matrix. More...
 
struct  CreateFullMatrix
 The top level function object which creates the CRS matrix structure for the linear system to be solved. More...
 
struct  ScanRowEntries
 A Scanning Kernel which calculates the row pointers from a list of the number of entries in each row. More...
 
struct  UnconditionSolution
 A Kernel which divides the RHS vector terms corresponding to the constraints by a given conditioner factor. More...
 

Functions

template<typename DeviceType >
size_t ComputeNumSystemDofs (const typename Kokkos::View< size_t *, DeviceType >::const_type &active_dofs)
 Computes the total number of active degrees of freedom in the system.
 

Function Documentation

◆ ComputeNumSystemDofs()

template<typename DeviceType >
size_t kynema::solver::ComputeNumSystemDofs ( const typename Kokkos::View< size_t *, DeviceType >::const_type &  active_dofs)
inline

Computes the total number of active degrees of freedom in the system.

Template Parameters
DeviceTypeThe Kokkos Device describing where the input resides
Parameters
active_dofsThe number of active degrees of freedom at each node