/home/runner/work/kynema/kynema/kynema/src/dof_management/freedom_signature.hpp File Reference

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

Go to the source code of this file.

Namespaces

namespace  kynema
 
namespace  kynema::dof
 

Enumerations

enum class  kynema::dof::FreedomSignature : std::uint8_t { kynema::dof::AllComponents = 0b00111111 , kynema::dof::JustPosition = 0b00111000 , kynema::dof::JustRotation = 0b00000111 , kynema::dof::NoComponents = 0b00000000 }
 Represents the active degrees of freedom for a node. More...
 

Functions

KOKKOS_INLINE_FUNCTION FreedomSignature kynema::dof::operator| (FreedomSignature x, FreedomSignature y)
 Combines two freedom signatures using bitwise OR.
 
KOKKOS_INLINE_FUNCTION size_t kynema::dof::count_active_dofs (FreedomSignature x)
 Counts the number of active degrees of freedom in a signature.