Skip to content

Commit

Permalink
ParIter -> ParIter_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jul 13, 2023
1 parent 6c62411 commit 6d81f0d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Src/Extern/SENSEI/AMReX_ParticleDataAdaptorI.H
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ svtkPolyData* ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::BuildPar
// loop over levels in the particle container
for (int lev = 0; lev < particles.size(); lev++)
{
using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (MyParIter pti(*this->m_particles, lev); pti.isValid(); ++pti)
{
auto& aos = pti.GetArrayOfStructs();
Expand Down Expand Up @@ -747,7 +747,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesIDArra
int *partIds = idArray->GetPointer(0);

// loop over particles and append their cpu value to the list
using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
long ptId = 0;
for (int level = 0; level < particles.size(); ++level)
{
Expand Down Expand Up @@ -792,7 +792,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesCPUArr
int* partCpu = cpuArray->GetPointer(0);

// loop over particles and append their cpu value to the list
using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (int level = 0; level < particles.size(); ++level)
{
for (MyParIter pti(*this->m_particles, level); pti.isValid(); ++pti)
Expand Down Expand Up @@ -863,7 +863,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesSOARea
double* pData = data->GetPointer(0);
#endif

using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (int level = 0; level < this->m_particles->numLevels(); ++level)
{
for (MyParIter pti(*this->m_particles, level); pti.isValid(); ++pti)
Expand Down Expand Up @@ -938,7 +938,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesSOAInt
int* pData = data->GetPointer(0);

// fill array
using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (int level = 0; level< this->m_particles->numLevels(); level++)
{
for (MyParIter pti(*this->m_particles, level); pti.isValid(); ++pti)
Expand Down Expand Up @@ -1025,7 +1025,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesAOSRea
#endif

// copy the data from each level
using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (int level = 0; level<particles.size();level++)
{
for (MyParIter pti(*this->m_particles, level); pti.isValid(); ++pti)
Expand Down Expand Up @@ -1097,7 +1097,7 @@ int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::AddParticlesAOSInt
data->SetNumberOfValues(nptsOnProc);
int* pData = data->GetPointer(0);

using MyParIter = ParIter<ParticleType, NArrayReal, NArrayInt>;
using MyParIter = ParIter_impl<ParticleType, NArrayReal, NArrayInt>;
for (int level = 0; level<particles.size(); ++level)
{
for (MyParIter pti(*this->m_particles, level); pti.isValid(); ++pti)
Expand Down

0 comments on commit 6d81f0d

Please sign in to comment.