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

Public Member Functions | |
| bool | has_ground () const |
| bool | has_table () const |
| void | k_range (amrex::Real zl, amrex::Real zh, int klo, int khi, int &kb, int &kt) const |
Public Attributes | |
| amrex::Real | ground_lo {0.0} |
| amrex::Real | ground_hi {0.0} |
| amrex::Real | dz_lo {0.0} |
| amrex::Real | dz_hi {0.0} |
| bool | all_ground {true} |
| every box of the level reaches the ground (else the bounds hold for those that do) More... | |
| int | k0 {0} |
| the node level of node_lo[0] and the cell of has_cell[0] More... | |
| std::vector< amrex::Real > | node_lo |
| std::vector< amrex::Real > | node_hi |
| node level k0 + n: the lowest and highest height (empty: no table) More... | |
| std::vector< char > | has_cell |
| cell k0 + n is in one of the boxes More... | |
The lowest and highest ground and the smallest and largest spacing of the levels (m) of a mesh, and, over one rank's boxes (mesh_z_bounds with over_all_ranks false) or the level's (mesh_z_levels), a table of each node level's lowest and highest height and of the cells those boxes hold, which bounds the cells a height may lie in whether or not the boxes reach the ground (a column split in z, a level aloft).
|
inline |
Whether the level's grids reach the ground (a refined level aloft does not, and has no bounds).
Referenced by k_range().

|
inline |
Whether the bounds come with the table of node heights: of one rank's boxes (mesh_z_bounds) or of every rank's (mesh_z_levels).
Referenced by k_range(), erf_actuator::points_covered_by(), and erf_actuator::region_touches_grids().

|
inline |
The cells k that heights from zl to zh may lie in, whatever the column: [kb, kt], clamped to [klo - 1, khi + 1] (so a range outside the domain stays outside it); [klo, khi] without bounds. With the table: exactly the boxes' cells k whose lowest bottom node is not above zh and whose highest top node is not below zl, or kb > kt when there is none. zl or zh may be infinite (not NaN): heights from -infinity take every cell up to zh's, and a range at one infinity takes no cell of the domain.
Referenced by erf_actuator::points_covered_by(), and erf_actuator::region_touches_grids().


| bool erf_actuator::ZBounds::all_ground {true} |
every box of the level reaches the ground (else the bounds hold for those that do)
Referenced by erf_actuator::mesh_z_bounds(), and erf_actuator::region_touches_grids().
| amrex::Real erf_actuator::ZBounds::dz_hi {0.0} |
Referenced by k_range(), erf_actuator::mesh_z_bounds(), and erf_actuator::points_covered_by().
| amrex::Real erf_actuator::ZBounds::dz_lo {0.0} |
Referenced by k_range(), erf_actuator::mesh_z_bounds(), and erf_actuator::points_covered_by().
| amrex::Real erf_actuator::ZBounds::ground_hi {0.0} |
Referenced by k_range(), erf_actuator::mesh_z_bounds(), and erf_actuator::points_covered_by().
| amrex::Real erf_actuator::ZBounds::ground_lo {0.0} |
Referenced by k_range(), erf_actuator::mesh_z_bounds(), and erf_actuator::points_covered_by().
| std::vector<char> erf_actuator::ZBounds::has_cell |
cell k0 + n is in one of the boxes
Referenced by has_table(), k_range(), erf_actuator::mesh_z_levels(), and erf_actuator::erf_detail_ActuatorSampling::node_level_table().
| int erf_actuator::ZBounds::k0 {0} |
the node level of node_lo[0] and the cell of has_cell[0]
Referenced by k_range(), and erf_actuator::erf_detail_ActuatorSampling::node_level_table().
| std::vector<amrex::Real> erf_actuator::ZBounds::node_hi |
node level k0 + n: the lowest and highest height (empty: no table)
Referenced by k_range(), erf_actuator::mesh_z_levels(), and erf_actuator::erf_detail_ActuatorSampling::node_level_table().
| std::vector<amrex::Real> erf_actuator::ZBounds::node_lo |