15#ifndef vtkXdmf3LightDataHandler_h
16#define vtkXdmf3LightDataHandler_h
18#include "vtkIOXdmf3Module.h"
23#include VTKXDMF3_HEADER(core/XdmfItem.hpp)
32VTK_ABI_NAMESPACE_BEGIN
74 void InspectArrays(shared_ptr<XdmfItem> item);
79 bool TooDeep(
unsigned int depth);
84 std::string UniqueName(
const std::string& name,
bool ForGrid);
89 void AddNamedBlock(
vtkIdType parentVertex, std::string originalName, std::string uniqueName);
94 void AddNamedSet(std::string uniqueName);
101 void InspectTime(shared_ptr<XdmfItem> item);
102 void GetSetTime(shared_ptr<XdmfGrid> child,
unsigned int& cnt);
103 void GetSetTime(shared_ptr<XdmfGraph> child,
unsigned int& cnt);
109 bool ShouldRead(
unsigned int piece,
unsigned int npieces);
117 unsigned int MaxDepth;
119 unsigned int NumProcs;
120 std::set<double> times;
helper to identify requested arrays with
internal helper for vtkXdmf3Reader
std::set< double > getTimes()
return the list of times that the xdmf file can provide data at only valid after InspectXDMF
static shared_ptr< vtkXdmf3LightDataHandler > New(vtkXdmf3SILBuilder *sb, vtkXdmf3ArraySelection *f, vtkXdmf3ArraySelection *ce, vtkXdmf3ArraySelection *pn, vtkXdmf3ArraySelection *gc, vtkXdmf3ArraySelection *sc, unsigned int processor, unsigned int nprocessors)
factory constructor
void ClearGridsIfNeeded(shared_ptr< XdmfItem > domain)
called to make sure overflown SIL doesn't give nonsensical results
void InspectXDMF(shared_ptr< XdmfItem > item, vtkIdType parentVertex, unsigned int depth=0)
recursively inspect XDMF data hierarchy to determine times that we can provide data at name of arrays...
helper to allow block selection