ogstools.meshlib.xdmf_reader module#

This file provides an override to meshios XDMF Reader since it misses a feature to handle hyperslabs (there are two ways to handle hyperslab: the common documented here and the way paraview supports it (documentation missing).

Example:

2D_single_fracture_HT.h5:/meshes/2D_single_fracture/temperature|0 0:1 1:1 190:97 190

to be read like:

| start : stride : count : end
class ogstools.meshlib.xdmf_reader.XDMFReader[source]#

Bases: TimeSeriesReader

__init__(filename)[source]#
Parameters:

filename (str)

read_data(k)[source]#
Parameters:

k (int)

Return type:

tuple[float, dict, dict, dict]