ComputationalRadiationPhysics / libSplash

libSplash - Simple Parallel file output Library for Accumulating Simulation data using Hdf5
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Unify DataCollector interface #236

Open Flamefire opened 8 years ago

Flamefire commented 8 years ago

It would be helpful to have a uniform interface for DataCollectors. Currently there is an additional one IParallelDataCollector that has similar methods as the regular one, but with slightly different arguments. Most notably is the writeGlobalAttribute that takes an ID for the Parallel version but not for the base which can even lead to unexpected behaviour.