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

2D horizontal surface grid More...

#include <ERF_SurfaceGrid.H>

Inheritance diagram for SurfaceGrid:
Collaboration diagram for SurfaceGrid:

Public Attributes

amrex::BoxArray ba
 2D BoxArray (C*nx x C*ny x 1), box n refines atmospheric box n More...
 
amrex::DistributionMapping dm
 The atmospheric level's owners. More...
 
amrex::Geometry geom
 2D Geometry in physical coordinates [m] More...
 
int C = 1
 
amrex::IntVect atm_lo {0, 0, 0}
 
int lev = 0
 The atmospheric level (anchor_level, resolved) More...
 

Detailed Description

2D horizontal surface grid

A slab one cell thick with C*nx x C*ny cells, where (nx, ny) is the size of the region the atmospheric level's boxes cover: the whole domain on level 0, the refined region on a finer level.

Member Data Documentation

◆ atm_lo

amrex::IntVect SurfaceGrid::atm_lo {0, 0, 0}

Index, on the atmospheric level the grid refines, of the lower corner of the region the grid covers. The grid's own index space starts at zero at that corner, as every AMReX Geometry does, so surface cell (i, j) lies in atmospheric cell (i / C + atm_lo[0], j / C + atm_lo[1]). Zero on level 0.

Referenced by create_surface_grid(), surface_coarsen_to_atm(), surface_fill_from_atm_k0(), and surface_pairs_with_atm().

◆ ba

amrex::BoxArray SurfaceGrid::ba

2D BoxArray (C*nx x C*ny x 1), box n refines atmospheric box n

Referenced by create_surface_grid().

◆ C

int SurfaceGrid::C = 1

◆ dm

amrex::DistributionMapping SurfaceGrid::dm

The atmospheric level's owners.

Referenced by create_surface_grid().

◆ geom

amrex::Geometry SurfaceGrid::geom

2D Geometry in physical coordinates [m]

Referenced by create_surface_grid().

◆ lev

int SurfaceGrid::lev = 0

The atmospheric level (anchor_level, resolved)


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