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

McStas

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_rand01 Instrument at Tests

[ Identification | Description | Input parameters | Output parameters | Links ]

The Test_RNG_rand01 Instrument

Instrument to get basic test output from random number generator.

Identification

  • Site: Tests
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: Oct 2nd, 2020
  • Version:(Unknown)

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.
Name Unit Description Default
Ncount 1 Specify statistics 1000
seed 1 Specify RNG seed 0

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Sep 23 18:47:27 2022


Last Modified: Friday, 23-Sep-2022 20:47:27 CEST
Search website mailinglist archive GitHub repos