Skip to content

Commit

Permalink
specify class name for ContainerLike
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jan 11, 2024
1 parent c2cb944 commit 7402c29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/des/bmx_pc_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <bmx_chem_species_parms.H>

using namespace amrex;
using PinnedTile = typename ContainerLike<amrex::PinnedArenaAllocator>::ParticleTileType;
using PinnedTile = typename BMXParticleContainer::ContainerLike<amrex::PinnedArenaAllocator>::ParticleTileType;

void BMXParticleContainer::WriteToAscii (const std::string& vtk_filename,int nstep, Real time)
{
Expand Down Expand Up @@ -100,7 +100,7 @@ void BMXParticleContainer::WriteSegmentsToAscii (const std::string& vtk_filename
PinnedTile pinned_tile;
pinned_tile.define(NumRuntimeRealComps(),NumRuntimeIntComps());
pinned_tile.resize(kv.second.numParticles());
amrex::copyParticles(pinned_tile, particle_tile, 0, 0,
amrex::copyParticles(pinned_tile, kv.second, 0, 0,
kv.second.numParticles());
const auto& particles = pinned_tile.GetArrayOfStructs();

Expand Down

0 comments on commit 7402c29

Please sign in to comment.