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
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Test_RNG_randvec_target_circle Instrument at Tests

[ Identification | Description | Input parameters | Output 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
  • 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
angle 45

Links

  • Source code for Test_RNG_randvec_target_circle.instr.

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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 21 20:13:18 2021


Last Modified: Wednesday, 21-Apr-2021 22:13:18 CEST
Search website mailinglist archive GitHub repos