|
chombo-discharge
|
Declarative descriptors for selecting which particle PAYLOAD columns are written to H5Part (visualization) files. A ParticleTraits specialization may declare an optional h5PartColumns tuple of these descriptors; DischargeIO::writeH5Part then derives the output datasets directly, eliminating hand-maintained, positionally coupled name/accessor lists.
More...
Classes | |
| struct | Scalar |
| Descriptor of a single scalar payload column written to one H5Part dataset. More... | |
| struct | Vector |
| Descriptor of a SpaceDim-component vector payload column, written as name-x/name-y/name-z. More... | |
Functions | |
| template<typename M > | |
| Scalar (const char *, M) -> Scalar< M > | |
Deduction guide so that Scalar{"name", &P::m} deduces the member-pointer type. | |
| template<typename... Ms> | |
| Vector (const char *, Ms...) -> Vector< Ms... > | |
Deduction guide so that Vector{"name", D_DECL(&P::x, &P::y, &P::z)} deduces the member-pointer types. | |
Declarative descriptors for selecting which particle PAYLOAD columns are written to H5Part (visualization) files. A ParticleTraits specialization may declare an optional h5PartColumns tuple of these descriptors; DischargeIO::writeH5Part then derives the output datasets directly, eliminating hand-maintained, positionally coupled name/accessor lists.
Position, id and weight are written automatically by writeH5Part and need NOT be listed here; only the EXTRA payload columns are. Each descriptor pairs a dataset name with the pointer(s)-to-member that select the column(s):
H5Part namespace so that H5Part::Vector does not collide with Chombo's Vector container. Deduction guide so that Scalar{"name", &P::m} deduces the member-pointer type.
| M | Pointer-to-member type. |
| H5Part::Vector | ( | const char * | , |
| Ms... | |||
| ) | -> Vector< Ms... > |
Deduction guide so that Vector{"name", D_DECL(&P::x, &P::y, &P::z)} deduces the member-pointer types.
| Ms | Pointer-to-member types. |