McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas
site 2

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_RNG_randvec_target_circle

[ Identification | Description | Input parameters | Links ]

The Test_RNG_randvec_target_circle Instrument

Instrument to get basic test output from random number generator.

Identification

  • Site: Tests
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: Oct 2nd, 2020

Description

Instrument to get basic test output from random number generator.

The instrument generates 2 randon numbers pr. particle using randpm1(),
encoded into the particle x and y coordinates.

For a low statistics, one may e.g. check that setting the seed gives
varied output or fixing the seed gives fixed outputĀ·

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Ncount1Specify statistics1000000
seed1Specify RNG seed0
distmDistance between synthetic point-source and monitor1

Links

  • Source code for Test_RNG_randvec_target_circle.instr.

[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-15 07:34:57


Last Modified: Friday, 31-Mar-2023 14:24:13 CEST
Search website mailinglist archive GitHub repos