I'm trying to create a parallel writer for 'general' use cases where
a) some processes may have no data to contribute and/or
b) some processes do not have cells of a certain type whereas others do
I find that this seems not possible. If I create, as a test case, for b) two processes with an unstructured grid with a hexa on one process and a tetra on the other process, the cells cannot be written to a section because the pcgnslib write routine expects that each process writes at least one cell. This could be overcome with creation of a MIXED zone (need to test but seems possible).
However, that points to case a) where a process may not have any data to contribute (for example when only a sub-set of a simulation needs to be written). Then, creating a MIXED zone is not the solution.
Is there a way to handle this?