Celeritas 0.7.0-dev.230+develop.7257fa99
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::DistributionVisitor Class Reference

Expand a macro to a switch statement over all possible distribution types. More...

#include <DistributionVisitor.hh>

Public Member Functions

CELER_FUNCTION DistributionVisitor (NativeCRef< DistributionParamsData > const &)
 Construct with a reference to distribution data.
 
template<class F >
CELER_CONSTEXPR_FUNCTION decltype(autooperator() (F &&func, OnedDistributionId id)
 
template<class F >
CELER_CONSTEXPR_FUNCTION decltype(autooperator() (F &&func, ThreedDistributionId id)
 
template<class F >
CELER_CONSTEXPR_FUNCTION decltype(autooperator() (F &&func, OnedDistributionId id)
 Expand a macro to a switch statement over all 1D distribution types.
 
template<class F >
CELER_CONSTEXPR_FUNCTION decltype(autooperator() (F &&func, ThreedDistributionId id)
 Expand a macro to a switch statement over all 3D distribution types.
 

Detailed Description

Expand a macro to a switch statement over all possible distribution types.


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