![]() |
Peano
|
Peano has introduced its own block-structured output format.
Its idea is that a mesh is dumped as an unstructured set of cell where each cell is uniquely identified through its offset and its size. The mesh data format lacks any topological information (connectivity). A cell always is a patch, i.e. holds a (topological) Cartesian mesh of dimensions \( k \times k \) or \( k \times k \times k \), respectively. If you work without patches, \( k=2 \). In this case, the block format obviously can yield a significant overhead.
This spec file specifies a simple grid that
identifier A
and each entry (per vertex) comprises 58 double unknowns. The second set of unknowns per vertex is called time
and is a scalar quantity.cell-values
.vertex-values
or cell-values
section in the header of the file, i.e. not embedded into a patch, may have a sectionIf no mapping is present, our code dumps a regular subgrid (patch) per patch
region. If a mapping is present, the mapping has exactly \( (6+1) \cdot (6+1) \cdot (6+1) \) entries in the example from the previous section. Each entry is a 3d coordinate relative to the unit cube and specifies how the topologially regular grid prescribed within a patch is to be mapped. You might for example plot points of the topologically regular grid with Gauss-Legendre spacing.
Per snapshot (typically time step), the plotter adds on dataset
entry. Each data set holds one data file per active rank. Each rank writes its actual data into a separate file.