diff --git a/Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.H b/Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.H index ebd71be7e84..584125ac683 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.H +++ b/Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.H @@ -91,7 +91,7 @@ public: amrex::Vector, 3>> const& Bfield, amrex::Vector> const& rhofield, amrex::Vector, 3>> const& edge_lengths, - amrex::Real t, + amrex::Real t, bool solve_for_Faraday); void HybridPICSolveE ( @@ -100,7 +100,7 @@ public: std::array< std::unique_ptr, 3> const& Bfield, std::unique_ptr const& rhofield, std::array< std::unique_ptr, 3> const& edge_lengths, - amrex::Real t, + amrex::Real t, int lev, bool solve_for_Faraday); void HybridPICSolveE ( @@ -109,7 +109,7 @@ public: std::array< std::unique_ptr, 3> const& Bfield, std::unique_ptr const& rhofield, std::array< std::unique_ptr, 3> const& edge_lengths, - amrex::Real t, + amrex::Real t, int lev, PatchType patch_type, bool solve_for_Faraday); void BfieldEvolveRK ( diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 743428fa2b3..a191ddf6e2d 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -1338,7 +1338,7 @@ void WarpX::CheckKnownIssues() mypc->m_B_ext_particle_s != "none" || mypc->m_E_ext_particle_s != "none" ); WARPX_ALWAYS_ASSERT_WITH_MESSAGE( - (!external_particle_field_used + (!external_particle_field_used || mypc->m_B_ext_particle_s == "parse_b_ext_particle_function" || mypc->m_E_ext_particle_s == "parse_e_ext_particle_function"), "The hybrid-PIC algorithm only works with analytical external E/B fields "