/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/math_ops.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/math_ops.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
math_ops.H File Reference
#include "AMReX_REAL.H"
#include "AMReX_Gpu.H"
Include dependency graph for math_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
 This test case is intended as an evaluation of the momentum advection scheme.
namespace  amr_wind::utils

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::utils::powi (const amrex::Real &x, const int &y)
 Helper function to do pow() with integer exponents and output amrex::Real.
template<typename T, typename U>
amrex::Real amr_wind::utils::powi (T, U)=delete
 Prevent other argument types from accidentally being used.

Detailed Description

Basic math utilities