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 @@ -604,29 +604,6 @@ void Iteration::read_impl(std::string const &groupPath)
604604
605605 Parameter<Operation::LIST_PATHS> pList;
606606 IOHandler ()->enqueue (IOTask (this , pList));
607- auto version = IOHandler ()->m_standard ;
608- bool hasMeshes = false ;
609- bool hasParticles = false ;
610- if (version <= OpenpmdStandard::v_1_0_1)
611- {
612- IOHandler ()->enqueue (IOTask (this , pList));
613- IOHandler ()->flush (internal::defaultFlushParams);
614- hasMeshes = std::count (
615- pList.paths ->begin (),
616- pList.paths ->end (),
617- auxiliary::replace_last (s.meshesPath (), " /" , " " )) == 1 ;
618- hasParticles =
619- std::count (
620- pList.paths ->begin (),
621- pList.paths ->end (),
622- auxiliary::replace_last (s.particlesPath (), " /" , " " )) == 1 ;
623- pList.paths ->clear ();
624- }
625- else
626- {
627- hasMeshes = s.containsAttribute (" meshesPath" );
628- hasParticles = s.containsAttribute (" particlesPath" );
629- }
630607
631608 // @todo restore compatibility with openPMD 1.0.*:
632609 // hasMeshes <-> meshesPath is defined
You can’t perform that action at this time.
0 commit comments