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
 McStas manual
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Test_RNG_randtriangle Instrument at Tests

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

The Test_RNG_randtriangle 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 1000000
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 May 7 10:17:14 2021


Last Modified: Friday, 07-May-2021 12:17:14 CEST
Search website mailinglist archive GitHub repos