Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Public Attributes | List of all members
celeritas::TwodGridData Struct Reference

Definition of a structured nonuniform 2D grid with node-centered data. More...

#include <TwodGridData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 True if assigned and valid.
 
CELER_FUNCTION ItemId< real_typeat (size_type ix, size_type iy) const
 Get the data location for a specified x-y coordinate.
 

Public Attributes

ItemRange< real_typex
 x grid definition
 
ItemRange< real_typey
 y grid definition
 
ItemRange< real_typevalues
 [x][y]
 

Detailed Description

Definition of a structured nonuniform 2D grid with node-centered data.

This relies on an external Collection of reals. Data is indexed as [x][y], C-style row-major.


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