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

#include <ERF_SBMRemapping.H>

Collaboration diagram for erf_sbm::PopulationRemapView:

Public Attributes

int population_id {-1}
 
MomentMode moment_mode {MomentMode::OneMoment}
 
CoordinateKind coordinate_kind {CoordinateKind::Mass}
 
const amrex::Real * edges {nullptr}
 
const amrex::Real * pivots {nullptr}
 
int nbins {0}
 
int mass_offset {-1}
 
int number_offset {-1}
 
int state_components {0}
 
const int * property_component_offsets {nullptr}
 
int property_count {0}
 

Detailed Description

Compact, non-owning scientific context for one population. Its referenced arrays must be immutable and accessible to the execution backend for the full lifetime of any plan or kernel work using the view. Device callers construct the same POD with device-accessible metadata arrays.

Member Data Documentation

◆ coordinate_kind

CoordinateKind erf_sbm::PopulationRemapView::coordinate_kind {CoordinateKind::Mass}

◆ edges

const amrex::Real* erf_sbm::PopulationRemapView::edges {nullptr}

◆ mass_offset

int erf_sbm::PopulationRemapView::mass_offset {-1}

◆ moment_mode

MomentMode erf_sbm::PopulationRemapView::moment_mode {MomentMode::OneMoment}

◆ nbins

int erf_sbm::PopulationRemapView::nbins {0}

◆ number_offset

int erf_sbm::PopulationRemapView::number_offset {-1}

◆ pivots

const amrex::Real* erf_sbm::PopulationRemapView::pivots {nullptr}

◆ population_id

int erf_sbm::PopulationRemapView::population_id {-1}

◆ property_component_offsets

const int* erf_sbm::PopulationRemapView::property_component_offsets {nullptr}

◆ property_count

int erf_sbm::PopulationRemapView::property_count {0}

◆ state_components

int erf_sbm::PopulationRemapView::state_components {0}

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