Open
Description
With resizeable datasets, there is a problem to resize them if we first declare them as "zero" size.
terminate called after throwing an instance of 'std::runtime_error'
what(): Chunks cannot be written for a constant RecordComponent.
SIGABRT
Since handling zero-extent datasets is somewhat special (they need to become constant record components), it might be that we want to guard this in the frontend (throw an error if a resizeable data set is declared with zero extent).
The work-around/proper workflow on the user side is to wait with the declaration until N>1 particles are truly to be written.
seen first by @RevathiJambunathan & me in WarpX back-transformed particle diags .