Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Merge requests
!1230
Add a table of mean intial mass of each species to the snapshot header
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add a table of mean intial mass of each species to the snapshot header
initial_mass_table
into
master
Overview
1
Commits
4
Changes
9
Merged
Matthieu Schaller
requested to merge
initial_mass_table
into
master
4 years ago
Overview
1
Commits
4
Changes
9
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
1c4ff1a8
4 commits,
4 years ago
9 files
+
166
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
doc/RTD/source/Snapshots/index.rst
+
12
−
4
Options
@@ -24,10 +24,18 @@ that is always set to the string ``SWIFT``, which can be used to identify
SWIFT-generated snapshots and hence make use of all the extensions to the file
format described below.
The most important quantity of the header is the array ``NumPart_ThisFile``
which contains the number of particles of each type in this snapshot. This is an
array of 6 numbers; one for each of the 5 supported types and a dummy "type 3"
field only used for compatibility reasons but always containing a zero.
The most important quantity of the header is the array ``NumPart_Total`` which
contains the number of particles of each type in this snapshot. This is an array
of 6 numbers; one for each of the supported types. The field
``NumPart_ThisFile`` contains the number of particles in this sub-snapshot file
when the user asked for distributed snapshots (see :ref:`Parameters_snapshots`);
otherwise it contains the same information as ``NumPart_Total``. The field
``NumFilesPerSnapshot`` specifies the number of sub-snapshot files (always 1
unless a distributed snapshot was asked).
The field ``InitialMassTable`` contains the *mean* initial mass of each of the
particle types present in the initial conditions. This can be used as estimator
of the mass resolution of the run. The masses are expressed in internal units.
The ``RunName`` field contains the name of the simulation that was specified as
the ``run_name`` in the :ref:`Parameters_meta_data` section of the YAML
Loading