|
| 1 | +type = "object" |
| 2 | +title = "Particle Patches" |
| 3 | +description = "Recommended group for post-processing. It logically orders the 1D arrays of attributes into local patches of particles that can be read and processed in parallel." |
| 4 | + |
| 5 | +################################ |
| 6 | +# General layout of attributes # |
| 7 | +################################ |
| 8 | + |
| 9 | +[properties.attributes] |
| 10 | +title = "Attribute layout" |
| 11 | +description = "Custom attributes allowed, no required attributes defined." |
| 12 | +"$ref" = "attributes.json" |
| 13 | + |
| 14 | +####################################################### |
| 15 | +# Definition of particle patches via # |
| 16 | +# numParticles, numParticlesOffset, offset and extent # |
| 17 | +####################################################### |
| 18 | + |
| 19 | +[properties.numParticles] |
| 20 | +title = "numParticles" |
| 21 | +description = "number of particles in this patch" |
| 22 | + |
| 23 | +# todo: INT type dataset |
| 24 | +"$ref" = "record_component.json" |
| 25 | + |
| 26 | + |
| 27 | +[properties.numParticlesOffset] |
| 28 | +title = "numParticles" |
| 29 | +description = "offset within the one-dimensional records of the particle species where the first particle in this patch is stored" |
| 30 | + |
| 31 | +# todo: INT type dataset |
| 32 | +"$ref" = "record_component.json" |
| 33 | + |
| 34 | + |
| 35 | +[properties.offset] |
| 36 | +title = "Offset" |
| 37 | +description = "absolute position (position + positionOffset as defined above) where the particle patch begins: defines the (inclusive) lower bound with positions that are associated with the patch; the same requirements as for regular record components apply" |
| 38 | +"$ref" = "patch_record.json" |
| 39 | + |
| 40 | + |
| 41 | +[properties.extent] |
| 42 | +title = "Extent" |
| 43 | +description = "extent of the particle patch; the offset + extent must be larger than the maximum absolute position of particles in the patch as the exact upper bound of position offset + extent is excluded from the patch; the same requirements as for regular record components apply" |
| 44 | +"$ref" = "patch_record.json" |
0 commit comments