hemocell
Loading...
Searching...
No Matches
Public Attributes | List of all members
hemo::XdmfBlockFile Struct Reference

What one atomic block wrote to its HDF5 file in one output step. More...

#include <xdmfOutput.h>

Public Attributes

std::string identifier
 Output name: cell type, "Fluid" or "CEPAC"; "_PRE" appended in the pre-inlet.
 
std::string file
 HDF5 file, relative to the output directory.
 
long blockId = 0
 Atomic block ID; blocks are listed in ascending ID.
 
bool structured = false
 Regular grid (fluid) or surface mesh (cells).
 
long nodes [3] = {0, 0, 0}
 Structured: number of nodes in z, y, x (dataset dimensions).
 
double origin [3] = {0., 0., 0.}
 Structured: lower corner of the first node's cell, z, y, x.
 
double spacing [3] = {1., 1., 1.}
 Structured: node spacing, z, y, x.
 
long vertices = 0
 Cells: rows of the "Position" dataset (0: no cells in this block).
 
long triangles = 0
 Cells: rows of the "Triangles" dataset (0: not written).
 
long innerLinks = 0
 Cells: rows of the "InnerLinks" dataset (0: not written).
 
std::vector< XdmfAttribute > attributes
 Datasets listed as attributes.
 

Detailed Description

What one atomic block wrote to its HDF5 file in one output step.

Filled by the HDF5 writers on the rank that wrote the file and passed to writeXdmf(). Structured blocks (fluid, CEPAC) store one value per lattice node of the block's bulk; the XDMF file describes them as the cells of a regular grid, so neighbouring blocks tile the domain without overlap. Cell blocks store a surface mesh: the vertices of the cells the block writes.

Member Data Documentation

◆ attributes

std::vector<XdmfAttribute> hemo::XdmfBlockFile::attributes

Datasets listed as attributes.

◆ blockId

long hemo::XdmfBlockFile::blockId = 0

Atomic block ID; blocks are listed in ascending ID.

◆ file

std::string hemo::XdmfBlockFile::file

HDF5 file, relative to the output directory.

◆ identifier

std::string hemo::XdmfBlockFile::identifier

Output name: cell type, "Fluid" or "CEPAC"; "_PRE" appended in the pre-inlet.

◆ innerLinks

long hemo::XdmfBlockFile::innerLinks = 0

Cells: rows of the "InnerLinks" dataset (0: not written).

◆ nodes

long hemo::XdmfBlockFile::nodes[3] = {0, 0, 0}

Structured: number of nodes in z, y, x (dataset dimensions).

◆ origin

double hemo::XdmfBlockFile::origin[3] = {0., 0., 0.}

Structured: lower corner of the first node's cell, z, y, x.

◆ spacing

double hemo::XdmfBlockFile::spacing[3] = {1., 1., 1.}

Structured: node spacing, z, y, x.

◆ structured

bool hemo::XdmfBlockFile::structured = false

Regular grid (fluid) or surface mesh (cells).

◆ triangles

long hemo::XdmfBlockFile::triangles = 0

Cells: rows of the "Triangles" dataset (0: not written).

◆ vertices

long hemo::XdmfBlockFile::vertices = 0

Cells: rows of the "Position" dataset (0: no cells in this block).