Skip to content

Commit

Permalink
second try for fixing potential specified check
Browse files Browse the repository at this point in the history
  • Loading branch information
roelof-groenewald committed Sep 11, 2024
1 parent 60c1ff7 commit 96168e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ RelativisticExplicitES::ComputeSpaceChargeField (
}

// Add the field due to the boundary potentials
AddBoundaryField(Efield_fp, Bfield_fp);
if (m_poisson_boundary_handler->m_boundary_potential_specified) {
AddBoundaryField(Efield_fp, Bfield_fp);
}
}

void
Expand Down

0 comments on commit 96168e1

Please sign in to comment.