-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Esirkepov: Ensure Particle Does not Run out Dt #4364
base: development
Are you sure you want to change the base?
Conversation
Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov>
@roelof-groenewald in #4362 (comment)
|
// We also deposit the current for diagnostics reasons, e.g., in ES simulations that have no CFL | ||
// Esirkepov's current deposition algorithm assumes that dt*c does not cross a cell boundary, | ||
// let's ensure that. | ||
if (WarpX::current_deposition_algo == CurrentDepositionAlgo::Esirkepov) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not check on ElectromagneticSolverAlgo::HybridPIC
/ algo.maxwell_solver = hybrid
, ... https://warpx.readthedocs.io/en/latest/usage/parameters.html#maxwell-solver
Technically, only for EM sims with Yee, CKC, PSATD, ...
Esirkepov: Ensure
dt
fits into cells with an assertRe #4358
Follow-up to #4362
j
: Default to Direct Deposition #4362 (comment)