Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::SafetyImager< G > Class Template Reference

Write safety distances from a geometry. More...

#include <SafetyImager.hh>

Public Types

Type aliases
using SPConstGeo = std::shared_ptr< G const >
 

Public Member Functions

 SafetyImager (SPConstGeo geo)
 Construct with geometry and build a single state.
 
void operator() (ImageParams const &image, std::string filename)
 Write an image to a file.
 

Detailed Description

template<class G>
class celeritas::SafetyImager< G >

Write safety distances from a geometry.

The file format is JSON lines:

Note
This is a very rough-and-ready class that should be restructured and integrated with the ray tracer so that it can be executed in parallel on GPU. The interface will change and this will be added to the celer-geo app someday!

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