Skip to content

Commit

Permalink
allow phi output with hybrid code
Browse files Browse the repository at this point in the history
  • Loading branch information
roelof-groenewald committed Sep 30, 2024
1 parent 7ab790a commit 77ed5e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Diagnostics/Diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ Diagnostics::BaseReadParameters ()
WARPX_ALWAYS_ASSERT_WITH_MESSAGE(
warpx.electrostatic_solver_id==ElectrostaticSolverAlgo::LabFrame ||
warpx.electrostatic_solver_id==ElectrostaticSolverAlgo::LabFrameElectroMagnetostatic ||
warpx.electrostatic_solver_id==ElectrostaticSolverAlgo::LabFrameSemiImplicit,
warpx.electrostatic_solver_id==ElectrostaticSolverAlgo::LabFrameSemiImplicit ||
warpx.electromagnetic_solver_id == ElectromagneticSolverAlgo::HybridPIC,
"plot phi only works if do_electrostatic = labframe or do_electrostatic = labframe-electromagnetostatic");
}

Expand Down

0 comments on commit 77ed5e9

Please sign in to comment.