|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
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< VolumeInstanceId > | interface_pre |
| Sorted range of exiting volume instances (from this volume) | |
| ItemRange< VolumeInstanceId > | interface_post |
| Corresponding range of entering volume instances (to other volumes) | |
| ItemRange< SurfaceId > | surface |
| Surface IDs for the pre->post mapping. | |
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
.
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.