Skip to content

Commit 3555575

Browse files
Merge pull request #1614 from ax3l/topic-removeWorkAroundOldSplash
libSplash 1.5.0+: Remove Dummy Writes
2 parents 53fb912 + 0e69abd commit 3555575

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/picongpu/include/plugins/hdf5/WriteSpecies.hpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -451,22 +451,6 @@ struct WriteSpecies
451451
ColTypeDouble ctDouble;
452452
SplashFloatXType splashFloatXType;
453453

454-
// stupid work-around to create a group with libSplash 1.4.0
455-
GridController<simDim>& gc = Environment<simDim>::get().GridController();
456-
const Dimensions numEntries( gc.getGlobalSize(), 1, 1 );
457-
const Dimensions myOffset( gc.getGlobalRank(), 0, 0 );
458-
const Dimensions myEntries( 1, 1, 1 );
459-
const uint64_t dummy( 0 );
460-
461-
params->dataCollector->write(
462-
params->currentStep,
463-
numEntries,
464-
myOffset,
465-
ctUInt64, 1,
466-
myEntries,
467-
(recordPath + std::string("/dummy")).c_str(),
468-
&dummy);
469-
470454
/* openPMD base standard
471455
* write constant record
472456
*/

0 commit comments

Comments
 (0)