Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 18, 2024
1 parent 5f75428 commit 36caed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public:
amrex::Vector<std::array< std::unique_ptr<amrex::MultiFab>, 3>> const& Bfield,
amrex::Vector<std::unique_ptr<amrex::MultiFab>> const& rhofield,
amrex::Vector<std::array< std::unique_ptr<amrex::MultiFab>, 3>> const& edge_lengths,
amrex::Real t,
amrex::Real t,
bool solve_for_Faraday);

void HybridPICSolveE (
Expand All @@ -100,7 +100,7 @@ public:
std::array< std::unique_ptr<amrex::MultiFab>, 3> const& Bfield,
std::unique_ptr<amrex::MultiFab> const& rhofield,
std::array< std::unique_ptr<amrex::MultiFab>, 3> const& edge_lengths,
amrex::Real t,
amrex::Real t,
int lev, bool solve_for_Faraday);

void HybridPICSolveE (
Expand All @@ -109,7 +109,7 @@ public:
std::array< std::unique_ptr<amrex::MultiFab>, 3> const& Bfield,
std::unique_ptr<amrex::MultiFab> const& rhofield,
std::array< std::unique_ptr<amrex::MultiFab>, 3> const& edge_lengths,
amrex::Real t,
amrex::Real t,
int lev, PatchType patch_type, bool solve_for_Faraday);

void BfieldEvolveRK (
Expand Down
2 changes: 1 addition & 1 deletion Source/Initialization/WarpXInitData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 36caed1

Please sign in to comment.