Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams

A computational method in the modelling of neutron beams is described that blends neutron acceptance diagrams, GPU-based Monte-Carlo sampling, and a Bayesian approach to efficiency. The resulting code reaches orders of magnitude improvement in performance relative to existing methods. For example, d...

Full description

Bibliographic Details
Main Author: Phillip Bentley
Format: Article
Language:English
Published: MDPI AG 2020-06-01
Series:Quantum Beam Science
Subjects:
Online Access:https://www.mdpi.com/2412-382X/4/2/24
_version_ 1797565191684096000
author Phillip Bentley
author_facet Phillip Bentley
author_sort Phillip Bentley
collection DOAJ
description A computational method in the modelling of neutron beams is described that blends neutron acceptance diagrams, GPU-based Monte-Carlo sampling, and a Bayesian approach to efficiency. The resulting code reaches orders of magnitude improvement in performance relative to existing methods. For example, data rates similar to world-leading, real instruments can be achieved on a 2017 laptop, generating <inline-formula> <math display="inline"> <semantics> <msup> <mn>10</mn> <mn>6</mn> </msup> </semantics> </math> </inline-formula> neutrons per second at the sample position of a high-resolution small angle scattering instrument. The method is benchmarked, and is shown to be in agreement with previous work. Finally, the method is demonstrated on a mature instrument design, where a sub-second turnaround in an interactive simulation process allows the rapid exploration of a wide range of options. This results in a doubling of the design performance, at the same time as reducing the hardware cost by 40%.
first_indexed 2024-03-10T19:08:35Z
format Article
id doaj.art-ceb47e7cd9c64859bdb44f741b6fadd6
institution Directory Open Access Journal
issn 2412-382X
language English
last_indexed 2024-03-10T19:08:35Z
publishDate 2020-06-01
publisher MDPI AG
record_format Article
series Quantum Beam Science
spelling doaj.art-ceb47e7cd9c64859bdb44f741b6fadd62023-11-20T03:59:28ZengMDPI AGQuantum Beam Science2412-382X2020-06-01422410.3390/qubs4020024Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance DiagramsPhillip Bentley0European Spallation Source ERIC, Box 176, 221 00 Lund, SwedenA computational method in the modelling of neutron beams is described that blends neutron acceptance diagrams, GPU-based Monte-Carlo sampling, and a Bayesian approach to efficiency. The resulting code reaches orders of magnitude improvement in performance relative to existing methods. For example, data rates similar to world-leading, real instruments can be achieved on a 2017 laptop, generating <inline-formula> <math display="inline"> <semantics> <msup> <mn>10</mn> <mn>6</mn> </msup> </semantics> </math> </inline-formula> neutrons per second at the sample position of a high-resolution small angle scattering instrument. The method is benchmarked, and is shown to be in agreement with previous work. Finally, the method is demonstrated on a mature instrument design, where a sub-second turnaround in an interactive simulation process allows the rapid exploration of a wide range of options. This results in a doubling of the design performance, at the same time as reducing the hardware cost by 40%.https://www.mdpi.com/2412-382X/4/2/24GPUadjointMonte-Carloneutronsimulation
spellingShingle Phillip Bentley
Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
Quantum Beam Science
GPU
adjoint
Monte-Carlo
neutron
simulation
title Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
title_full Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
title_fullStr Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
title_full_unstemmed Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
title_short Accurate Simulation of Neutrons in Less Than One Minute Pt. 2: Sandman—GPU-Accelerated Adjoint Monte-Carlo Sampled Acceptance Diagrams
title_sort accurate simulation of neutrons in less than one minute pt 2 sandman gpu accelerated adjoint monte carlo sampled acceptance diagrams
topic GPU
adjoint
Monte-Carlo
neutron
simulation
url https://www.mdpi.com/2412-382X/4/2/24
work_keys_str_mv AT phillipbentley accuratesimulationofneutronsinlessthanoneminutept2sandmangpuacceleratedadjointmontecarlosampledacceptancediagrams