Celeritas 0.6.0-67+develop.47f47c88
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::VolumeSurfaceRecord Struct Reference

Store surface data corresponding to a volume. More...

#include <SurfaceData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 True if valid data is present.
 

Public Attributes

SurfaceId boundary
 Surface identifier for the volume boundary.
 
ItemRange< VolumeInstanceIdinterface_pre
 Sorted range of exiting volume instances (from this volume)
 
ItemRange< VolumeInstanceIdinterface_post
 Corresponding range of entering volume instances (to other volumes)
 
ItemRange< SurfaceIdsurface
 Surface IDs for the pre->post mapping.
 

Detailed Description

Store surface data corresponding to a volume.

This stores information about the surfaces (both boundary and interface) of a volume. The boundary is a single optional surface ID, and the interface is an unzipped map

(pre, post) -> surface
ItemRange< SurfaceId > surface
Surface IDs for the pre->post mapping.
Definition SurfaceData.hh:42

.

If interface_pre and interface_post are zipped, the result is sorted. In other words, the pre-step surface can be searched with bisection, and the resulting subrange can also be searched with bisection to find the post-step surface. This then corresponds to the SurfaceId of that interface.


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