mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com> Co-authored-by: Amanda Lund <alund1187@gmail.com>
36 lines
1.6 KiB
ReStructuredText
36 lines
1.6 KiB
ReStructuredText
.. _io_particle_restart:
|
|
|
|
============================
|
|
Particle Restart File Format
|
|
============================
|
|
|
|
The current version of the particle restart file format is 2.1.
|
|
|
|
**/**
|
|
|
|
:Attributes: - **filetype** (*char[]*) -- String indicating the type of file.
|
|
- **version** (*int[2]*) -- Major and minor version of the particle
|
|
restart file format.
|
|
- **openmc_version** (*int[3]*) -- Major, minor, and release
|
|
version number for OpenMC.
|
|
- **git_sha1** (*char[40]*) -- Git commit SHA-1 hash.
|
|
|
|
:Datasets: - **current_batch** (*int*) -- The number of batches already
|
|
simulated.
|
|
- **generations_per_batch** (*int*) -- Number of generations per
|
|
batch.
|
|
- **current_generation** (*int*) -- The number of generations already
|
|
simulated.
|
|
- **n_particles** (*int8_t*) -- Number of particles used per
|
|
generation.
|
|
- **run_mode** (*char[]*) -- Run mode used, either 'fixed source',
|
|
'eigenvalue', or 'particle restart'.
|
|
- **id** (*int8_t*) -- Unique identifier of the particle.
|
|
- **type** (*int32_t*) -- Particle type (PDG number)
|
|
- **weight** (*double*) -- Weight of the particle.
|
|
- **energy** (*double*) -- Energy of the particle in eV for
|
|
continuous-energy mode, or the energy group of the particle for
|
|
multi-group mode.
|
|
- **xyz** (*double[3]*) -- Position of the particle.
|
|
- **uvw** (*double[3]*) -- Direction of the particle.
|
|
- **time** (*double*) -- Time of the particle in [s].
|