|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_ActuatorSampling.H>

Public Member Functions | |
| const ZBounds & | get (const amrex::MultiFab &z_phys_nd, const amrex::Geometry &geom, bool rebuild=false) |
| int | builds () const |
Private Attributes | |
| ZBounds | m_zb |
| amrex::BoxArray | m_ba |
| z_phys_nd's boxes at the last build More... | |
| amrex::Box | m_domain |
| geom's domain at the last build More... | |
| int | m_builds {0} |
mesh_z_levels of one level, kept between calls: the heights of a level change only when its boxes do (a regrid) or when the terrain moves, so a caller that needs the table at every step builds it once.
|
inline |
How many times get() has built the table.
| const ZBounds & erf_actuator::LevelHeights::get | ( | const amrex::MultiFab & | z_phys_nd, |
| const amrex::Geometry & | geom, | ||
| bool | rebuild = false |
||
| ) |
The table of z_phys_nd's level. Built at the first call, and again when z_phys_nd's boxes or geom's domain differ from those of the last build, or with rebuild true (for heights that change in time on the same boxes: a moving terrain). A collective when it builds; every rank builds at the same calls, as the boxes, the domain and rebuild are the same on every rank.

|
private |
z_phys_nd's boxes at the last build
|
private |
Referenced by builds().
|
private |
geom's domain at the last build
|
private |