constants Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Functions | |
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool | is_close (const amrex::Real a, const amrex::Real b) |
Closeness comparison. | |
Variables | |
static constexpr amrex::Real | SMALL_NUM |
A number close to zero. | |
static constexpr amrex::Real | EPS |
A number very close to zero. | |
static constexpr amrex::Real | TIGHT_TOL = 1e-12 |
A tight tolerance. | |
static constexpr amrex::Real | LOOSE_TOL = 1e-8 |
A loose tolerance. | |
static constexpr amrex::Real | LOW_NUM |
A large negative number. | |
static constexpr amrex::Real | LARGE_NUM |
A large positive number. | |
Function Documentation
◆ is_close()
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool amr_wind::constants::is_close | ( | const amrex::Real | a, |
const amrex::Real | b ) |
Closeness comparison.
Variable Documentation
◆ EPS
|
staticconstexpr |
Initial value:
=
static_cast<amrex::Real>(std::numeric_limits<amrex::Real>::epsilon())
A number very close to zero.
◆ LARGE_NUM
|
staticconstexpr |
Initial value:
=
static_cast<amrex::Real>(std::numeric_limits<amrex::Real>::max() * 1e-10)
A large positive number.
◆ LOOSE_TOL
|
staticconstexpr |
A loose tolerance.
◆ LOW_NUM
|
staticconstexpr |
Initial value:
= static_cast<amrex::Real>(
std::numeric_limits<amrex::Real>::lowest() * 1e-10)
A large negative number.
◆ SMALL_NUM
|
staticconstexpr |
Initial value:
= static_cast<amrex::Real>(
std::numeric_limits<amrex::Real>::epsilon() * 1e10)
A number close to zero.
◆ TIGHT_TOL
|
staticconstexpr |
A tight tolerance.
Generated by 1.12.0