Skip to content

Commit

Permalink
ParticleContainer -> ParticleContainer_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jul 13, 2023
1 parent c8e7e03 commit 6c62411
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Src/Extern/SENSEI/AMReX_AmrMeshParticleDataAdaptor.H
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public:
AmrMesh *mesh,
const std::vector<amrex::Vector<amrex::MultiFab>*> &mesh_states,
const std::vector<std::vector<std::string>> &mesh_names,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs = {},
const std::map<std::string, int> & iStructs = {},
const std::map<std::string, std::vector<int>> & rArrays = {},
Expand Down
2 changes: 1 addition & 1 deletion Src/Extern/SENSEI/AMReX_AmrMeshParticleDataAdaptorI.H
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int AmrMeshParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::SetDataSour
AmrMesh *mesh,
const std::vector<amrex::Vector<amrex::MultiFab>*> &mesh_states,
const std::vector<std::vector<std::string>> &mesh_names,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs,
const std::map<std::string, int> & iStructs,
const std::map<std::string, std::vector<int>> & rArrays,
Expand Down
4 changes: 2 additions & 2 deletions Src/Extern/SENSEI/AMReX_AmrMeshParticleInSituBridge.H
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public:
amrex::AmrMesh *mesh,
const std::vector<amrex::Vector<amrex::MultiFab>*> &mesh_states,
const std::vector<std::vector<std::string>> &mesh_names,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & particles_rStructs = {},
const std::map<std::string, int> & particles_iStructs = {},
const std::map<std::string, std::vector<int>> & particles_rArrays = {},
Expand All @@ -52,7 +52,7 @@ int AmrMeshParticleInSituBridge::update(
amrex::AmrMesh *mesh,
const std::vector<amrex::Vector<amrex::MultiFab>*> &mesh_states,
const std::vector<std::vector<std::string>> &mesh_names,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & particles_rStructs,
const std::map<std::string, int> & particles_iStructs,
const std::map<std::string, std::vector<int>> & particles_rArrays,
Expand Down
2 changes: 1 addition & 1 deletion Src/Extern/SENSEI/AMReX_AmrParticleDataAdaptor.H
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public:

int SetDataSource(
Amr *amr,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs = {},
const std::map<std::string, int> & iStructs = {},
const std::map<std::string, std::vector<int>> & rArrays = {},
Expand Down
2 changes: 1 addition & 1 deletion Src/Extern/SENSEI/AMReX_AmrParticleDataAdaptorI.H
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ AmrParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::New()
template<typename ParticleType, int NArrayReal, int NArrayInt>
int AmrParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::SetDataSource(
Amr *amr,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs,
const std::map<std::string, int> & iStructs,
const std::map<std::string, std::vector<int>> & rArrays,
Expand Down
4 changes: 2 additions & 2 deletions Src/Extern/SENSEI/AMReX_AmrParticleInSituBridge.H
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public:
*/
template<typename ParticleType, int NArrayReal, int NArrayInt>
int update(amrex::Amr *amr,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & particles_rStructs = {},
const std::map<std::string, int> & particles_iStructs = {},
const std::map<std::string, std::vector<int>> & particles_rArrays = {},
Expand All @@ -42,7 +42,7 @@ public:
template<typename ParticleType, int NArrayReal, int NArrayInt>
int AmrParticleInSituBridge::update(
amrex::Amr *amr,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & particles_rStructs,
const std::map<std::string, int> & particles_iStructs,
const std::map<std::string, std::vector<int>> & particles_rArrays,
Expand Down
4 changes: 2 additions & 2 deletions Src/Extern/SENSEI/AMReX_ParticleDataAdaptor.H
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public:

// set the source of the simulation data
int SetDataSource(
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs = {},
const std::map<std::string, int> & iStructs = {},
const std::map<std::string, std::vector<int>> & rArrays = {},
Expand Down Expand Up @@ -86,7 +86,7 @@ private:

const std::string m_particlesName = "particles";

amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt>* m_particles;
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt>* m_particles;

using RealDataMapType = std::map<std::string, std::vector<int>>;
using IntDataMapType = std::map<std::string, int>;
Expand Down
2 changes: 1 addition & 1 deletion Src/Extern/SENSEI/AMReX_ParticleDataAdaptorI.H
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::New()
//-----------------------------------------------------------------------------
template <typename ParticleType, int NArrayReal, int NArrayInt>
int ParticleDataAdaptor<ParticleType, NArrayReal, NArrayInt>::SetDataSource(
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> * particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> * particles,
const std::map<std::string, std::vector<int>> & rStructs,
const std::map<std::string, int> & iStructs,
const std::map<std::string, std::vector<int>> & rArrays,
Expand Down
4 changes: 2 additions & 2 deletions Src/Extern/SENSEI/AMReX_ParticleInSituBridge.H
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public:
int update(
const double time,
const int time_step,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> *particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> *particles,
const std::map<std::string, std::vector<int>> & particles_rStructs = {},
const std::map<std::string, int> & particles_iStructs = {},
const std::map<std::string, std::vector<int>> & particles_rArrays = {},
Expand All @@ -43,7 +43,7 @@ template<typename ParticleType, int NArrayReal, int NArrayInt>
int ParticleInSituBridge::update(
const double time,
const int time_step,
amrex::ParticleContainer<ParticleType, NArrayReal, NArrayInt> *particles,
amrex::ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt> *particles,
const std::map<std::string, std::vector<int>> & particles_rStructs,
const std::map<std::string, int> & particles_iStructs,
const std::map<std::string, std::vector<int>> & particles_rArrays,
Expand Down

0 comments on commit 6c62411

Please sign in to comment.