Celeritas 0.7.0-dev.228+develop.9905a715
Loading...
Searching...
No Matches
Classes | Macros
DistributionTypeTraits.hh File Reference
#include "corecel/Types.hh"
#include "corecel/cont/EnumClassUtils.hh"
#include "corecel/random/Types.hh"
#include "corecel/random/data/DistributionData.hh"
#include "DeltaDistribution.hh"
#include "IsotropicDistribution.hh"
#include "NormalDistribution.hh"
#include "UniformBoxDistribution.hh"

Classes

struct  celeritas::OnedDistributionTypeTraits< OnedDistributionType::delta >
 
struct  celeritas::OnedDistributionTypeTraits< OnedDistributionType::normal >
 
struct  celeritas::ThreedDistributionTypeTraits< ThreedDistributionType::delta >
 
struct  celeritas::ThreedDistributionTypeTraits< ThreedDistributionType::isotropic >
 
struct  celeritas::ThreedDistributionTypeTraits< ThreedDistributionType::uniform_box >
 

Macros

#define CELER_DISTRIB_TRAITS(ENUM_VALUE, CLS)
 
#define CELER_DISTRIB_TRAITS(ENUM_VALUE, CLS)
 

Macro Definition Documentation

◆ CELER_DISTRIB_TRAITS [1/2]

#define CELER_DISTRIB_TRAITS (   ENUM_VALUE,
  CLS 
)
Value:
template<> \
struct OnedDistributionTypeTraits<OnedDistributionType::ENUM_VALUE> \
: public EnumToClass<OnedDistributionType, \
OnedDistributionType::ENUM_VALUE, \
CLS> \
{ \
}

◆ CELER_DISTRIB_TRAITS [2/2]

#define CELER_DISTRIB_TRAITS (   ENUM_VALUE,
  CLS 
)
Value:
template<> \
struct ThreedDistributionTypeTraits<ThreedDistributionType::ENUM_VALUE> \
: public EnumToClass<ThreedDistributionType, \
ThreedDistributionType::ENUM_VALUE, \
CLS> \
{ \
}