Skip to main content

prompt

Prompt: Probability-Conserved Cross Section Biasing Monte Carlo Particle Transport System.

Introduction of system can be found at arXiv.

Installing on Linux(Ubuntu) from source

To build Prompt, several prerequisites are needed.

sudo apt install g++ cmake python3-dev python3-pip python3-venv

Clone the source and compile it as

git clone https://gitlab.com/cinema-developers/prompt.git
cd prompt
. env.sh
cimbuild

Installing on Linux with pip

pip install neutron-cinema

Runing Prompt simulations

After installation, GDML formatted simulation input files can be launched by Prompt as

prompt [-g file] [-s seed] [-n number] [-v]
Option Defult Description
-g Set GDML input file.
-s 4096 Set the seed for the random generator
-n 100 Set the number of primary neutron events
-v The flag to activate the visualisation

Example of visualising the geometry defined in the total_scattering.gdml:

prompt -g total_scattering.gdml -v

The simulation will produce histogroms in the MCPL format only in the production run, if any scorers are specified. To run the simulation with 1e6 neutrons

prompt -g total_scattering.gdml -n 1e6

After the execution, seven histogrom files and accosiated python analysis template scripts will be generated. The reults can be plotted as

python ScorerDeltaMomentum_PofQ_HW_view.py

There are many input examples are available in the gdml sub-directory.

Connect with us:

cinema-users@outlook.com

Release files for neutron-cinema 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for neutron-cinema 1.0.0
File
neutron_cinema-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
neutron_cinema-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
neutron_cinema-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
neutron_cinema-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
neutron_cinema-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
neutron_cinema-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 66.9 MB

Release files / neutron_cinema-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
919e619a087449bbe7a0fff200d1f3bcaf0eae25d21d179d31c6a89e13c78280
BLAKE2b-256 checksum
How to use checksums
8c42ebbeafa69e289a04d297eb773aca557ecebb0a752a45fcaef0d2322ff107
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / neutron_cinema-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a7173e19721712108c27d52a3f0cb02c4fe96aafabff6d0c97011c7ff1a43898
BLAKE2b-256 checksum
How to use checksums
f092dfff144f6d84ec911496abe073c80a62f56cde081b4542a0adb494c08755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / neutron_cinema-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5d85342f0c379c994af90621288f9327e172314f6d586dc8e823820094757b07
BLAKE2b-256 checksum
How to use checksums
034621bfe905a3307f767b7f6ffc28b1e23414019f68b6864fbd67a52de264b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / neutron_cinema-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
43538481477a4217c88eaa28c3049ee61ae5037d12a5612334c17896792d10a4
BLAKE2b-256 checksum
How to use checksums
1e5e789e8f96607a015375fce20865e17fa6164a05f2a7d25e0dacf7d2932173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / neutron_cinema-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9a5b7abb189b06c700e34e6417fba41a7817c36008201b0ce24920709a67d22c
BLAKE2b-256 checksum
How to use checksums
525ebce57f0f804641a10ea932a0ea5b19487a8758468b7ec678249e8d871378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / neutron_cinema-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neutron_cinema-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
15711b19a4ba17967d560c20b9f2e0c448753a7f5922fbe3a60966b936cc5ab7
BLAKE2b-256 checksum
How to use checksums
6b74b73c4679885a5f4d6803ad1180a15e08ffbc819451a49f24b624816bc9ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release history Release notifications | RSS feed

This release

1.0.0 This release

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page