/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/trig_ops.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
trig_ops.H File Reference
#include <cmath>
#include "AMReX_REAL.H"
#include "AMReX_Gpu.H"
Include dependency graph for trig_ops.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | amr_wind |
namespace | amr_wind::utils |
Functions | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr amrex::Real | amr_wind::utils::pi () |
Return \(\pi\) as an amrex::Real. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr amrex::Real | amr_wind::utils::two_pi () |
Return \(2 \pi\). | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr amrex::Real | amr_wind::utils::half_pi () |
Return \(\pi / 2\). | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | amr_wind::utils::radians (const amrex::Real deg_val) |
Convert from degrees to radians. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | amr_wind::utils::degrees (const amrex::Real rad_val) |
Convert from radians to degrees. | |
Detailed Description
Trigonometric utilities
Generated by 1.12.0