File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -589,29 +589,6 @@ void Iteration::read_impl(std::string const &groupPath)
589589
590590 Parameter<Operation::LIST_PATHS> pList;
591591 IOHandler ()->enqueue (IOTask (this , pList));
592- auto version = IOHandler ()->m_standard ;
593- bool hasMeshes = false ;
594- bool hasParticles = false ;
595- if (version <= OpenpmdStandard::v_1_0_1)
596- {
597- IOHandler ()->enqueue (IOTask (this , pList));
598- IOHandler ()->flush (internal::defaultFlushParams);
599- hasMeshes = std::count (
600- pList.paths ->begin (),
601- pList.paths ->end (),
602- auxiliary::replace_last (s.meshesPath (), " /" , " " )) == 1 ;
603- hasParticles =
604- std::count (
605- pList.paths ->begin (),
606- pList.paths ->end (),
607- auxiliary::replace_last (s.particlesPath (), " /" , " " )) == 1 ;
608- pList.paths ->clear ();
609- }
610- else
611- {
612- hasMeshes = s.containsAttribute (" meshesPath" );
613- hasParticles = s.containsAttribute (" particlesPath" );
614- }
615592
616593 // @todo restore compatibility with openPMD 1.0.*:
617594 // hasMeshes <-> meshesPath is defined
You can’t perform that action at this time.
0 commit comments