Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::WarnAndIgnoreProcess Struct Reference

Warn about a missing process and deliberately skip it. More...

#include <ProcessBuilder.hh>

Public Types

using argument_type = ProcessBuilder::UserBuildInput const &
 
using result_type = ProcessBuilder::SPProcess
 

Public Member Functions

result_type operator() (argument_type) const
 Warn and return a null process.
 

Public Attributes

ImportProcessClass process
 

Detailed Description

Warn about a missing process and deliberately skip it.

Example:

ProcessBuilder::UserBuildMap ubm;
ubm.emplace(ImportProcessClass::coulomb_scat,
WarnAndIgnoreProcess{ImportProcessClass::coulomb_scat});

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