Skip to content

Commit

Permalink
Rewrite IO with LLAMA
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Dec 1, 2022
1 parent b26b1ff commit 7f53cf7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/picongpu/plugins/openPMD/WriteSpecies.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,12 @@ namespace picongpu
{
case WriteSpeciesStrategy::ADIOS:
{
using type = StrategyADIOS<openPMDFrameType, RunParameters_T>;
strategy = std::unique_ptr<AStrategy>(dynamic_cast<AStrategy*>(new type));
strategy = std::make_unique<StrategyADIOS<openPMDFrameType, RunParameters_T>>();
break;
}
case WriteSpeciesStrategy::HDF5:
{
using type = StrategyHDF5<openPMDFrameType, RunParameters_T>;
strategy = std::unique_ptr<AStrategy>(dynamic_cast<AStrategy*>(new type));
strategy = std::make_unique<StrategyHDF5<openPMDFrameType, RunParameters_T>>();
break;
}
}
Expand Down

0 comments on commit 7f53cf7

Please sign in to comment.