constraints Namespace Reference

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

Classes

struct  CalculateConstraintOutput
 Kernel that calculates the output for a constraints, for use as feedback to controllers. More...
 
struct  CalculateConstraintResidualGradient
 Top level kernel which calculates the residual and gradient contributions of a constraint. More...
 
struct  CalculateFixedBC3DOFConstraint
 Kernel for calculating the residual and system gradient for a Fix BC constraint with three degrees of freedom. More...
 
struct  CalculateFixedBCConstraint
 Kernel for calculating the residual and system gradient for a Fix BC constraint with six degrees of freedom. More...
 
struct  CalculatePrescribedBC3DOFConstraint
 Kernel for calculating the residual and system gradient for a Prescribed BC constraint with three degrees of freedom. More...
 
struct  CalculatePrescribedBCConstraint
 Kernel for calculating the residual and system gradient for a Prescribed BC constraint with six degrees of freedom. More...
 
struct  CalculateRevoluteJointConstraint
 Kernel for calculating the residual and system gradient for a revolute joint constraint. More...
 
struct  CalculateRevoluteJointForce
 Kernel for calculating the force applied to the system residual as the result of a revolute joint constraint. More...
 
struct  CalculateRevoluteJointOutput
 Kernel for calculating the output for a revolute joint constraint for feedback to controllers. More...
 
struct  CalculateRigidJoint3DOFConstraint
 Kernel for calculating the residual and system gradient for a rigid joint constraint with three degrees of freedom. More...
 
struct  CalculateRigidJointConstraint
 Kernel for calculating the residual and system gradient for a rigid joint constraint with six degrees of freedom. More...
 
struct  CalculateRotationControlConstraint
 A Kernel which calculates the residual and gradient contributions of a rotation control constraint. More...
 
struct  Constraint
 Defines a constraint between two nodes or enforces a boundary condition at a single node. More...
 
struct  UpdateLambdaPrediction
 A Kernel to update the predicted constraint Lagrange multiplier values at each nonlinear iteration. More...
 

Enumerations

enum class  ConstraintType : std::uint8_t {
  None = 0 , FixedBC = 1 , PrescribedBC = 2 , RigidJoint = 3 ,
  RevoluteJoint = 4 , RotationControl = 5 , FixedBC3DOFs = 6 , PrescribedBC3DOFs = 7 ,
  RigidJoint6DOFsTo3DOFs = 8
}
 

Functions

KOKKOS_INLINE_FUNCTION constexpr size_t GetNumberOfNodes (ConstraintType t)
 Returns the number of nodes used/required by the constraint type.
 
KOKKOS_INLINE_FUNCTION constexpr size_t NumColsForConstraint (ConstraintType type)
 Returns the number of degrees of freedom prescribed/fixed by the constraint type.
 
KOKKOS_INLINE_FUNCTION constexpr size_t NumRowsForConstraint (ConstraintType type)
 Returns the number of degrees of freedom prescribed/fixed by the constraint type.
 

Enumeration Type Documentation

◆ ConstraintType

enum class kynema::constraints::ConstraintType : std::uint8_t
strong
Enumerator
None 
FixedBC 
PrescribedBC 
RigidJoint 
RevoluteJoint 
RotationControl 
FixedBC3DOFs 
PrescribedBC3DOFs 
RigidJoint6DOFsTo3DOFs 

Function Documentation

◆ GetNumberOfNodes()

KOKKOS_INLINE_FUNCTION constexpr size_t kynema::constraints::GetNumberOfNodes ( ConstraintType  t)
constexpr

Returns the number of nodes used/required by the constraint type.

◆ NumColsForConstraint()

KOKKOS_INLINE_FUNCTION constexpr size_t kynema::constraints::NumColsForConstraint ( ConstraintType  type)
constexpr

Returns the number of degrees of freedom prescribed/fixed by the constraint type.

◆ NumRowsForConstraint()

KOKKOS_INLINE_FUNCTION constexpr size_t kynema::constraints::NumRowsForConstraint ( ConstraintType  type)
constexpr

Returns the number of degrees of freedom prescribed/fixed by the constraint type.