|
Celeritas 0.7.0-dev.226+develop.a6a728ea
|
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> | |
| DistributionParamsData & | operator= (DistributionParamsData< W2, M2 > const &other) |
| Assign from another memory/ownership specialization. | |
Public Attributes | |
| OnedDistributionItems< OnedDistributionType > | oned_types |
| 1D distributions | |
| OnedDistributionItems< size_type > | oned_indices |
| Items< DeltaDistributionRecord< real_type > > | delta_real |
| Items< NormalDistributionRecord > | normal |
| ThreedDistributionItems< ThreedDistributionType > | threed_types |
| 3D distributions | |
| ThreedDistributionItems< size_type > | threed_indices |
| Items< DeltaDistributionRecord< Array< real_type, 3 > > > | delta_real3 |
| Items< IsotropicDistributionRecord > | isotropic |
| Items< UniformBoxDistributionRecord > | uniform_box |
Storage for on-device sampling from arbitrary user-selected distributions.