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

The Test_MCPL_input_once Instrument

A test instrument for MCPL_input_once

Identification

Description

This is a unit test for the MCPL_input_once component. Since Oct 2026 MCPL_input_once
is an INHERIT of MCPL_input with repeat_count=1 and replicate_across_processes=0 forced:
the file content is shared among MPI processes and every particle is used once.

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
v_smear1Mmake Gaussian MC choice on particle velocity with spread v_smear * particle velocity0.1
pos_smearmMake uniform MC choice on sphere of radius pos_spear around particle position0.001
dir_smeardegMake Gaussian MC choice in cone of opening dir_smear around particle direction0.01
MCPLFILEstrInput MCPL file."voutput.mcpl"

Links


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

Generated for mcstas 3.5