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

#include <ERF_BndryPlaneIndex.H>

Collaboration diagram for PlaneIndex:

Public Attributes

int lo
 
int hi
 
amrex::Real w
 

Detailed Description

Where a fine index sits among the level-0 plane indices along one tangential direction: the two plane indices to blend and the weight on the second. The plane holds cell-centered values in every direction (the writer averages the face velocities to cell centers), so a cell-centered index and a nodal (face) index are both located by their positions relative to the plane's cell centers. At level 0 (ratio 1) a cell-centered index is the plane cell itself with zero weight on its neighbor, and node j is the average of plane cells j - 1 and j, the two cells it separates. Both indices are brought into the plane's extent, which is the level-0 domain: along a periodic direction they take the periodic image, as the interior cells across the seam do (bndry_plane_index); otherwise they are clamped.

Member Data Documentation

◆ hi

int PlaneIndex::hi

◆ lo

int PlaneIndex::lo

◆ w

amrex::Real PlaneIndex::w

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