Misc

starter.param

random.param

Configure the pseudorandom number generator (PRNG).

Allows to select method and global seeds in order to vary the initial state of the parallel PRNG.

namespace picongpu
namespace picongpurandom

Typedefs

using picongpu::random::Generator = typedef pmacc::random::methods::XorMin< >

Random number generation methods.

It is not allowed to change the method and restart an already existing checkpoint.

  • pmacc::random::methods::XorMin
  • pmacc::random::methods::MRG32k3aMin
  • pmacc::random::methods::AlpakaRand

using picongpu::random::SeedGenerator = typedef seed::Value< 42 >

random number start seed

Generator to create a seed for the random number generator. Depending of the generator the seed is reproducible or or changed with each program execution.

  • seed::Value< 42 >
  • seed::FromTime
  • seed::FromEnvironment

physicalConstants.param

namespace picongpu

Variables

constexpr float_64 picongpuPI = 3.141592653589793238462643383279502884197169399
constexpr float_64 picongpuUNIT_SPEED = SI::SPEED_OF_LIGHT_SI

Unit of speed.

constexpr float_X picongpuSPEED_OF_LIGHT = float_X( SI::SPEED_OF_LIGHT_SI / UNIT_SPEED )
constexpr float_64 picongpuUNITCONV_keV_to_Joule = 1.60217646e-16
constexpr float_64 picongpuUNITCONV_Joule_to_keV = (1.0 / UNITCONV_keV_to_Joule)
constexpr float_64 picongpuUNITCONV_AU_to_eV = 27.21139
constexpr float_64 picongpuUNITCONV_eV_to_AU = (1.0 / UNITCONV_AU_to_eV)
namespace picongpuSI

Variables

constexpr float_64 picongpu::SISPEED_OF_LIGHT_SI = 2.99792458e8

unit: m / s

constexpr float_64 picongpu::SIMUE0_SI = PI * 4.e-7

unit: N / A^2

constexpr float_64 picongpu::SIEPS0_SI

= 1.0 / MUE0_SI / SPEED_OF_LIGHT_SI

/ SPEED_OF_LIGHT_SI


unit: C / (V m)

constexpr float_64 picongpu::SIHBAR_SI = 1.054571800e-34

reduced Planck constant unit: J * s

constexpr float_64 picongpu::SIELECTRON_MASS_SI = 9.109382e-31

unit: kg

constexpr float_64 picongpu::SIELECTRON_CHARGE_SI = -1.602176e-19

unit: C

constexpr float_64 picongpu::SIATOMIC_UNIT_ENERGY = 4.36e-18
constexpr float_64 picongpu::SIATOMIC_UNIT_EFIELD = 5.14e11
constexpr float_64 picongpu::SIATOMIC_UNIT_TIME = 2.4189e-17
constexpr float_64 picongpu::SIN_AVOGADRO = 6.02214076e23

Avogadro number unit: mol^-1.

Y. Azuma et al. Improved measurement results for the Avogadro constant using a 28-Si-enriched crystal, Metrologie 52, 2015, 360-375 doi:10.1088/0026-1394/52/2/360