Skip to content

Commit

Permalink
removed unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
guj committed Dec 13, 2023
1 parent 9348cac commit 2f3de71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Src/Extern/openPMD-api/AMReX_PlotFileOPENPMD_PTL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,12 @@ namespace amrex {

// from warpx SetConstParticleRecordsEDPIC ()
//
// since it is a const, only need to be called before flushing
// constant values, just call before flushing
//
void AMReX_openPMDWriter::SetupConstant(openPMD::ParticleSpecies& currSpecies,
const unsigned long long& np) const
{
auto realType = openPMD::Dataset(openPMD::determineDatatype<amrex::ParticleReal>(), {np}, m_openPMDDatasetOptions);
//auto const scalar = openPMD::RecordComponent::SCALAR;

auto const positionComponents = getParticlePositionComponentLabels();
for( auto const& comp : positionComponents ) {
Expand Down

0 comments on commit 2f3de71

Please sign in to comment.