Celeritas 0.6.0-129+develop.846910afa
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::SurfacePhysicsMapView Class Reference

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 &params, SurfaceId surface)
 Construct from data and current surface.
 
CELER_FUNCTION SurfacePhysicsMapView (SurfaceParamsRef const &params)
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SurfacePhysicsMapView()

CELER_FUNCTION celeritas::SurfacePhysicsMapView::SurfacePhysicsMapView ( SurfaceParamsRef const params)
explicit

Construct from data and "no surface".

This provides default surface models for boundaries without user-specified surfaces.


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