ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_ImmersedWallCell.H File Reference
#include <cmath>
#include <limits>
#include <AMReX_REAL.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_Algorithm.H>
#include "ERF_Constants.H"
#include "ERF_MOSTUtils.H"
Include dependency graph for ERF_ImmersedWallCell.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ib_wall::WallCond
 
struct  ib_wall::WallState
 

Namespaces

 ib_wall
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool ib_wall::is_fluid (amrex::Real beta, amrex::Real small) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool ib_wall::is_solid (amrex::Real beta, amrex::Real small) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool ib_wall::is_wall_cell (amrex::Real b_km1, amrex::Real b_k, amrex::Real b_kp1, amrex::Real small) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::wall_beta (amrex::Real b_k, amrex::Real small) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::friction_velocity (amrex::Real ut, amrex::Real ut_ref, amrex::Real beta, amrex::Real dz, amrex::Real z0) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::face_above_factor (amrex::Real beta, amrex::Real dz, amrex::Real z0, int spacing) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::phi (amrex::Real d, amrex::Real z0, amrex::Real psi) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WallState ib_wall::wall_state (amrex::Real ut, amrex::Real ut_ref, amrex::Real theta, amrex::Real theta_ref, amrex::Real beta, amrex::Real dz, amrex::Real z0, const WallCond &c) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::heat_source (const WallState &w, amrex::Real theta, const WallCond &c, amrex::Real dz, amrex::Real dt) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::stress_rate (amrex::Real ustar, amrex::Real ut, amrex::Real dz, amrex::Real dt) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ib_wall::wall_tke (const WallState &w, amrex::Real beta, amrex::Real dz, amrex::Real z0, amrex::Real theta, amrex::Real Cmu0) noexcept