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

#include <ERF_SBMRemapping.H>

Collaboration diagram for erf_sbm::remap_detail::RemapCellStateView:

Public Member Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator[] (const int component) const noexcept
 

Public Attributes

amrex::Array4< const amrex::Real > values
 
int i {0}
 
int j {0}
 
int k {0}
 

Detailed Description

A component accessor for a cell in a component-major Array4.

Member Function Documentation

◆ operator[]()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real erf_sbm::remap_detail::RemapCellStateView::operator[] ( const int  component) const
inlinenoexcept
371  {
372  return values(i, j, k, component);
373  }
amrex::Array4< const amrex::Real > values
Definition: ERF_SBMRemapping.H:364
int k
Definition: ERF_SBMRemapping.H:367
int j
Definition: ERF_SBMRemapping.H:366
int i
Definition: ERF_SBMRemapping.H:365

Member Data Documentation

◆ i

int erf_sbm::remap_detail::RemapCellStateView::i {0}

Referenced by operator[]().

◆ j

int erf_sbm::remap_detail::RemapCellStateView::j {0}

Referenced by operator[]().

◆ k

int erf_sbm::remap_detail::RemapCellStateView::k {0}

Referenced by operator[]().

◆ values

amrex::Array4<const amrex::Real> erf_sbm::remap_detail::RemapCellStateView::values

Referenced by operator[]().


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