28#ifndef vtkXdmf3LightDataHandler_h
29#define vtkXdmf3LightDataHandler_h
31#include "vtkIOXdmf3Module.h"
36#include VTKXDMF3_HEADER(core/XdmfItem.hpp)
85 void InspectArrays(shared_ptr<XdmfItem> item);
90 bool TooDeep(
unsigned int depth);
95 std::string UniqueName(
const std::string& name,
bool ForGrid);
100 void AddNamedBlock(
vtkIdType parentVertex, std::string originalName, std::string uniqueName);
105 void AddNamedSet(std::string uniqueName);
112 void InspectTime(shared_ptr<XdmfItem> item);
113 void GetSetTime(shared_ptr<XdmfGrid> child,
unsigned int& cnt);
114 void GetSetTime(shared_ptr<XdmfGraph> child,
unsigned int& cnt);
120 bool ShouldRead(
unsigned int piece,
unsigned int npieces);
128 unsigned int MaxDepth;
130 unsigned int NumProcs;
131 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