/home/runner/work/kynema/kynema/kynema/src/constraints/calculate_revolute_joint_constraint.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
calculate_revolute_joint_constraint.hpp
Go to the documentation of this file.
Definition calculate_constraint_output.hpp:8
KOKKOS_INLINE_FUNCTION void CrossProduct(const VectorType &a, const VectorType &b, const VectorType &c)
Calculate the cross product between two vector views.
Definition vector_operations.hpp:40
KOKKOS_INLINE_FUNCTION double DotProduct(const AVectorType &a, const BVectorType &b)
Calculate the dot product between two vector views.
Definition vector_operations.hpp:25
KOKKOS_INLINE_FUNCTION void RotateVectorByQuaternion(const Quaternion &q, const View1 &v, const View2 &v_rot)
Rotates provided vector by provided unit quaternion and returns the result.
Definition quaternion_operations.hpp:120
KOKKOS_INLINE_FUNCTION void QuaternionInverse(const QuaternionInput &q_in, const QuaternionOutput &q_out)
Computes the inverse of a quaternion.
Definition quaternion_operations.hpp:172
Kernel for calculating the residual and system gradient for a revolute joint constraint.
Definition calculate_revolute_joint_constraint.hpp:14
Kokkos::View< ValueType, DeviceType > View
Definition calculate_revolute_joint_constraint.hpp:16
static KOKKOS_FUNCTION void invoke(const ConstView< double[3]> &X0, const ConstView< double[3][3]> &axes, const ConstView< double[7]> &base_node_u, const ConstView< double[7]> &target_node_u, const View< double[6]> &residual_terms, const View< double[6][6]> &base_gradient_terms, const View< double[6][6]> &target_gradient_terms)
Definition calculate_revolute_joint_constraint.hpp:20
typename View< ValueType >::const_type ConstView
Definition calculate_revolute_joint_constraint.hpp:18
Generated by