/home/runner/work/kynema-sgf/kynema-sgf/src/core/vs/quaternion.H File Reference

Kynema-SGF API: /home/runner/work/kynema-sgf/kynema-sgf/src/core/vs/quaternion.H File Reference
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
quaternion.H File Reference
#include "src/core/vs/tensor.H"
#include "src/utilities/trig_ops.H"
#include <cmath>
#include "AMReX.H"
Include dependency graph for quaternion.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kynema_sgf::vs::Quaternion

Namespaces

namespace  kynema_sgf
 This test case is intended as an evaluation of the momentum advection scheme.
namespace  kynema_sgf::vs

Functions

amrex::Real kynema_sgf::vs::dot (const Quaternion &a, const Quaternion &b)
Quaternion kynema_sgf::vs::operator* (const Quaternion &lhs, const Quaternion &rhs)
 Rotation composition: apply rhs first, followed by lhs.
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor kynema_sgf::vs::tensor_unit (const Quaternion &q)
Tensor kynema_sgf::vs::tensor (const Quaternion &input)
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Quaternion kynema_sgf::vs::from_axis_angle (const Vector &axis, const amrex::Real angle_degrees)
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor kynema_sgf::vs::quaternion (const Vector &axis, const amrex::Real angle_degrees)
 Compatibility interface for existing axis-angle tensor rotations.
Quaternion kynema_sgf::vs::from_roll_pitch_yaw (const Vector &angles)
Quaternion kynema_sgf::vs::slerp (Quaternion a, Quaternion b, const amrex::Real fraction)