ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
erf_detail_SurfaceLayer::NearestColumn Struct Reference
Collaboration diagram for erf_detail_SurfaceLayer::NearestColumn:

Public Member Functions

 NearestColumn (const Box &b)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int i (int ii) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int j (int jj) const noexcept
 

Public Attributes

int ilo
 
int ihi
 
int jlo
 
int jhi
 

Detailed Description

The column of a box nearest (i,j). A planar surface field whose source carries no lateral ghost cells fills its own ghost cells from the edge of its grid with this, and then lets fill_planar_boundary replace the ones that another grid or a periodic image holds.

Constructor & Destructor Documentation

◆ NearestColumn()

erf_detail_SurfaceLayer::NearestColumn::NearestColumn ( const Box &  b)
inlineexplicit
36  : ilo(b.smallEnd(0)), ihi(b.bigEnd(0)), jlo(b.smallEnd(1)), jhi(b.bigEnd(1)) {}
int jhi
Definition: ERF_SurfaceLayer.cpp:33
int ihi
Definition: ERF_SurfaceLayer.cpp:33
int ilo
Definition: ERF_SurfaceLayer.cpp:33
int jlo
Definition: ERF_SurfaceLayer.cpp:33

Member Function Documentation

◆ i()

◆ j()

Member Data Documentation

◆ ihi

int erf_detail_SurfaceLayer::NearestColumn::ihi

◆ ilo

int erf_detail_SurfaceLayer::NearestColumn::ilo

◆ jhi

int erf_detail_SurfaceLayer::NearestColumn::jhi

◆ jlo

int erf_detail_SurfaceLayer::NearestColumn::jlo

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