Expand description
RCSO/RCSB cooked numerics for a caller-side broadcast. No MPI in this crate.
RCSO cooked SoA bytes for a caller-side MPI_Bcast.
Layout matches readcon-db cooked_soa v1 (little-endian):
magic RCSO, version, natoms, flags, dtype, pad, reserved,
then positions, optional forces, optional velocities.
This crate never calls MPI_Init or names WORLD. Rank 0 encodes;
the caller broadcasts; workers decode.
Structs§
- Rcso
- Decoded cooked numerics.
Constants§
- RCSB_
MAGIC - Length-prefixed RCSO blobs for one collective (ADIOS BP5 grain: many frames).
- RCSB_
VERSION - Batch envelope version 1.
- RCSO_
DTYPE_ F64 - Positions/forces/velocities stored as f64.
- RCSO_
FLAG_ FORCES - Bit 0: forces block present.
- RCSO_
FLAG_ VELOCITIES - Bit 1: velocities block present.
- RCSO_
MAGIC - Four-byte magic. Identical to readcon-db.
- RCSO_
VERSION - Layout version 1.
Functions§
- decode_
batch - Split an RCSB envelope into RCSO blobs.
- encode_
batch - Pack many RCSO blobs into one RCSB envelope (one Bcast).