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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/constants.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
constants.H File Reference
#include "AMReX_REAL.H"
#include "AMReX_Math.H"
#include "AMReX_GpuQualifiers.H"
Include dependency graph for constants.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::constants
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool amr_wind::constants::is_close (const amrex::Real a, const amrex::Real b)
 Closeness comparison.
 

Variables

static constexpr amrex::Real amr_wind::constants::SMALL_NUM
 A number close to zero.
 
static constexpr amrex::Real amr_wind::constants::EPS
 A number very close to zero.
 
static constexpr amrex::Real amr_wind::constants::TIGHT_TOL = 1e-12
 A tight tolerance.
 
static constexpr amrex::Real amr_wind::constants::LOOSE_TOL = 1e-8
 A loose tolerance.
 
static constexpr amrex::Real amr_wind::constants::LOW_NUM
 A large negative number.
 
static constexpr amrex::Real amr_wind::constants::LARGE_NUM
 A large positive number.
 
static constexpr amrex::Real amr_wind::constants::BOLTZMANN_CONSTANT = 1.380649 * 1e-23
 Boltzmann constant (J/K)
 
static constexpr amrex::Real amr_wind::constants::AVOGADRO_CONSTANT = 6.02214076 * 1e23
 Avogadro's constant (mol^-1)
 
static constexpr amrex::Real amr_wind::constants::UNIVERSAL_GAS_CONSTANT
 Universal gas constant (J/K mol)
 
static constexpr amrex::Real amr_wind::constants::HEAT_CAPACITY_RATIO = 1.4
 Heat capacity ratio.
 
static constexpr amrex::Real amr_wind::constants::MOLAR_MASS_AIR = 0.02896492
 Molar mass of air (kg/mol)
 
static constexpr amrex::Real amr_wind::constants::MOLAR_MASS_WATER_VAPOR = 0.01801528
 Molar mass of water vapor (kg/mol)