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

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_MCViNE_SANS2D_ongrid

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

The Test_MCViNE_SANS2D_ongrid Instrument

Test of the MCViNE SANS2D_ongrid kernel (SANS from a 2D S(Qx,Qy) map), as a Union process and as a standalone sample

Identification

  • Site: Tests_samples
  • Author: Fahima Islam
  • Origin: MCViNE (https://github.com/mcvine/mcvine) kernels ported to McStas
  • Date: 2026-09-29

Description

Monochromatic beam on a small sample described by the MCViNE SANS2D_ongrid kernel.
comp_select=1 uses the Union process MCViNE_SANS2D_ongrid_process (geometry, absorption
and multiple scattering by Union_master); comp_select=2 uses the standalone
component MCViNE_SANS2D_ongrid with the same geometry, absorption and up to 20 orders of
scattering. The two should give the same scattered intensity (see the two
example lines below).

Examples

(Test cases in bold)
  • Test: comp_select=1 Detector: detector_I=9.72217e-07
  • Test: comp_select=2 Detector: detector_I=9.42522e-07

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
comp_select11: Union process MCViNE_SANS2D_ongrid_process in Union_master, 2: standalone MCViNE_SANS2D_ongrid1
EimeVIncident energy60
sample_rotationdegRotation of the sample frame about the vertical axis0

Links


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

Generated for mcstas 3.9.2


Last Modified: Tuesday, 06-Oct-2026 21:19:11 CEST
Search website mailinglist archive GitHub repos