ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
if_bld::HorizMasks Struct Reference

#include <ERF_ImmersedBuildingMasks.H>

Collaboration diagram for if_bld::HorizMasks:

Public Member Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real most () const noexcept
 faces carrying the MOST wall law (a target velocity from the log law) More...
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real linear (amrex::Real t) const noexcept
 weight of the linear drag CdM |u| toward zero on this face, with t its blanking More...
 

Public Attributes

amrex::Real roof
 
amrex::Real lo
 
amrex::Real hi
 
amrex::Real wall
 
amrex::Real side
 
amrex::Real interior
 

Detailed Description

Masks of a horizontal-momentum face (x or y). lo/hi are the neighbouring faces across the other horizontal direction: south/north for an x-face, west/east for a y-face.

Member Function Documentation

◆ linear()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real if_bld::HorizMasks::linear ( amrex::Real  t) const
inlinenoexcept

weight of the linear drag CdM |u| toward zero on this face, with t its blanking

126 { return (wall + side) * t + interior; }
@ t
Definition: ERF_WSM6.H:293
amrex::Real wall
Definition: ERF_ImmersedBuildingMasks.H:120
amrex::Real side
Definition: ERF_ImmersedBuildingMasks.H:120
amrex::Real interior
Definition: ERF_ImmersedBuildingMasks.H:120

◆ most()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real if_bld::HorizMasks::most ( ) const
inlinenoexcept

faces carrying the MOST wall law (a target velocity from the log law)

123 { return roof + lo + hi; }
amrex::Real lo
Definition: ERF_ImmersedBuildingMasks.H:120
amrex::Real hi
Definition: ERF_ImmersedBuildingMasks.H:120
amrex::Real roof
Definition: ERF_ImmersedBuildingMasks.H:120

Member Data Documentation

◆ hi

◆ interior

amrex::Real if_bld::HorizMasks::interior

◆ lo

◆ roof

◆ side

◆ wall


The documentation for this struct was generated from the following file: