24#ifndef HEMO_XDMF_OUTPUT_H
25#define HEMO_XDMF_OUTPUT_H
27#include "core/globalDefs.h"
87void writeXdmf(
const std::vector<XdmfBlockFile> & blocks, plb::plint iter,
double time);
void writeXdmf(const std::vector< XdmfBlockFile > &blocks, plb::plint iter, double time)
Write the XDMF (version 3) description of one output step. Collective.
Definition xdmfOutput.cpp:264
A dataset of a block file that is listed as an XDMF attribute.
Definition xdmfOutput.h:35
int precision
Bytes per value of the dataset.
Definition xdmfOutput.h:39
int components
Values per vertex (cells) or per lattice node (fluid).
Definition xdmfOutput.h:37
std::string name
HDF5 dataset name, also the attribute name.
Definition xdmfOutput.h:36
std::string numberType
XDMF NumberType of the dataset ("Float" or "Int").
Definition xdmfOutput.h:38
What one atomic block wrote to its HDF5 file in one output step.
Definition xdmfOutput.h:51
long vertices
Cells: rows of the "Position" dataset (0: no cells in this block).
Definition xdmfOutput.h:61
long innerLinks
Cells: rows of the "InnerLinks" dataset (0: not written).
Definition xdmfOutput.h:63
long triangles
Cells: rows of the "Triangles" dataset (0: not written).
Definition xdmfOutput.h:62
long blockId
Atomic block ID; blocks are listed in ascending ID.
Definition xdmfOutput.h:54
double origin[3]
Structured: lower corner of the first node's cell, z, y, x.
Definition xdmfOutput.h:58
long nodes[3]
Structured: number of nodes in z, y, x (dataset dimensions).
Definition xdmfOutput.h:57
std::vector< XdmfAttribute > attributes
Datasets listed as attributes.
Definition xdmfOutput.h:65
std::string file
HDF5 file, relative to the output directory.
Definition xdmfOutput.h:53
double spacing[3]
Structured: node spacing, z, y, x.
Definition xdmfOutput.h:59
std::string identifier
Output name: cell type, "Fluid" or "CEPAC"; "_PRE" appended in the pre-inlet.
Definition xdmfOutput.h:52
bool structured
Regular grid (fluid) or surface mesh (cells).
Definition xdmfOutput.h:55