Celeritas 0.6.0-129+develop.846910afa
|
Access surface physics mappings for a particular surface. More...
#include <SurfacePhysicsMapView.hh>
Public Types | |
Type aliases | |
using | SurfaceParamsRef = NativeCRef< SurfacePhysicsMapData > |
using | SurfaceModelId = SurfaceModel::SurfaceModelId |
using | InternalSurfaceId = SurfaceModel::InternalSurfaceId |
Public Member Functions | |
CELER_FUNCTION | SurfacePhysicsMapView (SurfaceParamsRef const ¶ms, SurfaceId surface) |
Construct from data and current surface. | |
CELER_FUNCTION | SurfacePhysicsMapView (SurfaceParamsRef const ¶ms) |
Construct from data and "no surface". | |
CELER_FUNCTION SurfaceModelId | surface_model_id () const |
Get the model ID for the current surface, if any. | |
CELER_FUNCTION SurfaceId | surface_id () const |
Current surface ID (may be one past the end of geometry IDs) | |
CELER_FUNCTION InternalSurfaceId | internal_surface_id () const |
Get the subindex for data inside that model. | |
Access surface physics mappings for a particular surface.
This simply encapsulates the SurfaceParamsData
class. A "default" physics surface ID is encoded as one ID past the number of geometric surfaces.
|
explicit |
Construct from data and "no surface".
This provides default surface models for boundaries without user-specified surfaces.