-
Notifications
You must be signed in to change notification settings - Fork 196
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
Implement PSATD with arbitrary temporal dependency of J
and rho
.
#4263
base: development
Are you sure you want to change the base?
Implement PSATD with arbitrary temporal dependency of J
and rho
.
#4263
Conversation
Thanks, Olga! I'll try to have a look as soon as possible. |
Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJArbitraryInTime.cpp
Outdated
Show resolved
Hide resolved
…be consistent with PSATD-JRm paper
…hapoval/WarpX into psatd_arbitrary_time_polynoms
@oshapoval I think we can remove the files associated to the class |
@EZoni Yes, I agree. I wanted to remove them after checking that all other checks passed. |
…), PSATD-LQ1, PSATD-QQ1
7499a54
to
ad2a58b
Compare
…CI tests: PSATD-LL1, CL1, CC2, QQ1 & .json files
…al, LQ1_nodal, CC2_nodal and QQ1_nodal
…orithm abreviaton of psatd-JRm).
…JLinearInTime. Now we have one class PSATD-JRm.
This PR replaces #4261.
It also closes #3506.
In this PR we implement second-order PSATD solver with arbitrary temporal dependencies of densities J and rho.
Both J and rho can be either constant or linear or quadratic. Now, fields update equaitons are implemented in
/WarpX/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJRm.cpp
for any PSATD solver except of Galilean PSATD.To do:
psatd.update_with_rho
X2
, since it does not match the coefficientX2
of the standard PSATD equationsPsatdAlgorithmJConstantInTime
to a separate class, as in [WIP] PSATD: Refactor Second-Order Equations #3506@EZoni Equations for E,B,F,G and averaged E_avg, B_avg fields and corresponding coefficients are given in the paper draft: Eq.(8)-(9) and Eqs.(11)-(12).