/home/runner/work/kynema/kynema/kynema/src/constraints/constraint_type.hpp File Reference

Kynema API: /home/runner/work/kynema/kynema/kynema/src/constraints/constraint_type.hpp File Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
constraint_type.hpp File Reference
#include <cstdint>
#include <Kokkos_Core.hpp>

Go to the source code of this file.

Namespaces

namespace  kynema
 
namespace  kynema::constraints
 

Enumerations

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

Functions

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