Celeritas 0.7.0-dev.226+develop.a6a728ea
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::DistributionParamsData< W, M > Struct Template Reference

Storage for on-device sampling from arbitrary user-selected distributions. More...

#include <DistributionData.hh>

Public Types

template<class T >
using Items = Collection< T, W, M >
 
template<class T >
using OnedDistributionItems = Collection< T, W, M, OnedDistributionId >
 
template<class T >
using ThreedDistributionItems = Collection< T, W, M, ThreedDistributionId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Whether the data is assigned.
 
template<Ownership W2, MemSpace M2>
DistributionParamsDataoperator= (DistributionParamsData< W2, M2 > const &other)
 Assign from another memory/ownership specialization.
 

Public Attributes

OnedDistributionItems< OnedDistributionTypeoned_types
 1D distributions
 
OnedDistributionItems< size_typeoned_indices
 
Items< DeltaDistributionRecord< real_type > > delta_real
 
Items< NormalDistributionRecordnormal
 
ThreedDistributionItems< ThreedDistributionTypethreed_types
 3D distributions
 
ThreedDistributionItems< size_typethreed_indices
 
Items< DeltaDistributionRecord< Array< real_type, 3 > > > delta_real3
 
Items< IsotropicDistributionRecordisotropic
 
Items< UniformBoxDistributionRecorduniform_box
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::DistributionParamsData< W, M >

Storage for on-device sampling from arbitrary user-selected distributions.


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