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

Kynema API: /home/runner/work/kynema-fmb/kynema-fmb/kynema-fmb/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_fmb
 
namespace  kynema_fmb::dof
 

Enumerations

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

Functions

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