Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const Records: Relax shape for Particles #289

Open
wants to merge 1 commit into
base: upcoming-2.0.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions STANDARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,10 @@ The record's *data set* `<componentName>` must be replaced with an empty

`shape` is a 1-dimensional array of `N` *(uint64)* elements, where `N` is the
number of dimensions of the record. It contains the number of elements of each
dimension that are replaced with a constant value. For `mesh` based records,
the order of the `N` values must be identical to the axes in `axisLabels`.
dimension that are replaced with a constant value.
- For `mesh` based records, the order of the `N` values must be identical to the axes in `axisLabels`.
- For `particle` records, the `shape` attribute can be skipped if there is *at least one more record* in the same particle group (species) that is non-constant or is constant and has the `shape` attribute.
Read-logic will then pick any other record to recover the `shape`.

Other required attributes that where previously stored on the *data set* need
to be added to the new sub-group as well.
Expand Down