Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jul 13, 2023
1 parent 6d81f0d commit ca4dfd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Particles/SENSEI_Insitu_SOA/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#if !defined(AMREX_PARTICLES) || !defined(AMREX_USE_SENSEI_INSITU)
#error Incompatible AMReX library configuration! This tutorial requires AMREX_PARTICLES and AMREX_USE_SENSEI_INSITU
#endif
#include <AMReX_AmrParticleInSituBridge.H>
#include <AMReX_ParticleInSituBridge.H>

using namespace amrex;

Expand Down Expand Up @@ -245,7 +245,7 @@ void testRedistribute ()

pc.InitParticles(nppc);

auto *insitu_bridge = new AmrParticleInSituBridge;
auto *insitu_bridge = new ParticleInSituBridge;

if (insitu_bridge->initialize()) {
amrex::ErrorStream() << "Failed to initialize the in situ bridge." << std::endl;
Expand All @@ -258,7 +258,7 @@ void testRedistribute ()
std::map<std::string, std::vector<int>> rArrays;
std::map<std::string, int> iArrays;

if (insitu_bridge->update(&amr, tracers, rStructs)) {
if (insitu_bridge->update(0.0, 0, &pc, rStructs)) {
amrex::ErrorStream() << "Failed to update the in situ bridge." << std::endl;
amrex::Abort();
}
Expand Down

0 comments on commit ca4dfd0

Please sign in to comment.