From 544467af366839e25ee0fd47f91c78f72b84d549 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 25 Sep 2024 01:05:47 -0700 Subject: [PATCH] `ablastr::fields::computePhi`: EB Runtime Control --- src/particles/spacecharge/PoissonSolve.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/particles/spacecharge/PoissonSolve.cpp b/src/particles/spacecharge/PoissonSolve.cpp index 9d928424d..32eeb7d96 100644 --- a/src/particles/spacecharge/PoissonSolve.cpp +++ b/src/particles/spacecharge/PoissonSolve.cpp @@ -85,6 +85,7 @@ namespace impactx::spacecharge //bool bcs_set = false; //std::array dirichlet_flag; //bool has_non_periodic = false; + bool phi_EB_only_t = false; } poisson_boundary_handler; // create a vector to our fields, sorted by level @@ -97,6 +98,7 @@ namespace impactx::spacecharge } const bool do_single_precision_comms = false; + const bool eb_enabled = false; ablastr::fields::computePhi( sorted_rho, sorted_phi, @@ -111,6 +113,7 @@ namespace impactx::spacecharge ablastr::utils::enums::GridType::Collocated, poisson_boundary_handler, is_solver_igf_on_lev0, + eb_enabled, do_single_precision_comms, rel_ref_ratio /*