|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Numbers of super-droplets and of physical particles that an initialization, or one per-cell injection step, places in a cell of volume a_dv. More...
#include <ERF_SDInitialization.H>

Public Member Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | densityMode () const noexcept |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | numSD (const amrex::Real a_dv) const noexcept |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | numParticles (const amrex::Real a_dv) const noexcept |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | numSDCell (const amrex::Real a_dv) const noexcept |
Public Attributes | |
| bool | inject = false |
| amrex::Real | sd_density = -1 |
| int | ppc = 1 |
| amrex::Real | par_density = -1 |
| double | par_total = 0 |
| double | par_total_old = 0 |
| amrex::Real | frac_tol = 0 |
Numbers of super-droplets and of physical particles that an initialization, or one per-cell injection step, places in a cell of volume a_dv.
|
inlinenoexcept |
True when a super-droplet density, not the per-cell count, sets the number of super-droplets (an injection without a super-droplet rate has sd_density 0)
Referenced by numSD().

|
inlinenoexcept |
Number of physical particles in the cell. An injection step adds the whole particles that the injected number per cell volume has accumulated in this step, so the cell receives its rate times its volume over any sequence of steps.
Referenced by SDInitialization::numParticlesPerCell(), numSD(), and numSDCell().

|
inlinenoexcept |
Number of super-droplets in the cell (0 when it receives no particles)
Referenced by numSDCell(), and SDInitialization::numSDPerCell().


|
inlinenoexcept |
Number of super-droplets in the cell when its counts follow its physical volume: at most one per physical particle, so that none has a zero multiplicity

| amrex::Real SDCellCounts::frac_tol = 0 |
injection: tolerance below 1 at which an accumulated particle is injected
Referenced by SDInjection::cellCounts(), and numParticles().
| bool SDCellCounts::inject = false |
injection step (else initialization)
Referenced by SDInjection::cellCounts(), densityMode(), numParticles(), and numSD().
| amrex::Real SDCellCounts::par_density = -1 |
initialization: physical particles per m^3
Referenced by SDInitialization::cellCounts(), and numParticles().
| double SDCellCounts::par_total = 0 |
injection: physical particles per m^3 up to this step
Referenced by SDInjection::cellCounts(), and numParticles().
| double SDCellCounts::par_total_old = 0 |
injection: physical particles per m^3 before this step
Referenced by SDInjection::cellCounts(), and numParticles().
| int SDCellCounts::ppc = 1 |
super-droplets per cell when sd_density is not set
Referenced by SDInjection::cellCounts(), SDInitialization::cellCounts(), and numSD().
| amrex::Real SDCellCounts::sd_density = -1 |
super-droplets per m^3; injection: per m^3 this step
Referenced by SDInjection::cellCounts(), SDInitialization::cellCounts(), densityMode(), and numSD().