Celeritas 0.7.0-dev.79+develop.b3dc2e108
|
Access surface physics mappings for a particular physics surface. More...
#include <SurfacePhysicsMapView.hh>
Public Types | |
Type aliases | |
using | SurfaceParamsRef = NativeCRef< SurfacePhysicsMapData > |
using | InternalSurfaceId = SurfaceModel::InternalSurfaceId |
Public Member Functions | |
CELER_FUNCTION | SurfacePhysicsMapView (SurfaceParamsRef const ¶ms, PhysSurfaceId 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 PhysSurfaceId | surface_id () const |
Current physics surface ID. | |
CELER_FUNCTION InternalSurfaceId | internal_surface_id () const |
Get the subindex for data inside that model. | |
Access surface physics mappings for a particular physics surface.
This simply encapsulates the SurfaceParamsData
class.
|
inlineexplicit |
Construct from data and "no surface".
This provides default surface models for boundaries without user-specified surfaces.