OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
FlatTop.h File Reference

Defines the FlatTop class used for sampling emitting particles. More...

#include <Kokkos_Random.hpp>
#include <cmath>
#include <memory>
#include "Distribution.h"
#include "Ippl.h"
#include "OPALTypes.h"
#include "SamplingBase.hpp"
#include "Utilities/Options.h"
Include dependency graph for FlatTop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FlatTop
 Implements the sampling method for the flat-top distribution. x and y coordinates are uniformly distributed inside a circle and number of particles entering domain in [t, t+dt] follows flattop profile. More...
 

Typedefs

using GeneratorPool = typename Kokkos::Random_XorShift64_Pool<>
 
using Dist_t = ippl::random::NormalDistribution< double, 3 >
 

Detailed Description

Defines the FlatTop class used for sampling emitting particles.

Definition in file FlatTop.h.

Typedef Documentation

◆ Dist_t

using Dist_t = ippl::random::NormalDistribution<double, 3>

Definition at line 19 of file FlatTop.h.

◆ GeneratorPool

using GeneratorPool = typename Kokkos::Random_XorShift64_Pool<>

Definition at line 18 of file FlatTop.h.