From ca4dfd013de180bc4c19cc427592a2a3124e51e6 Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Thu, 13 Jul 2023 10:59:24 -0700 Subject: [PATCH] update test --- Tests/Particles/SENSEI_Insitu_SOA/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Particles/SENSEI_Insitu_SOA/main.cpp b/Tests/Particles/SENSEI_Insitu_SOA/main.cpp index a94db2e061c..a25236af55a 100644 --- a/Tests/Particles/SENSEI_Insitu_SOA/main.cpp +++ b/Tests/Particles/SENSEI_Insitu_SOA/main.cpp @@ -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 +#include using namespace amrex; @@ -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; @@ -258,7 +258,7 @@ void testRedistribute () std::map> rArrays; std::map 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(); }