diff options
author | 2023-07-21 10:29:01 -0700 | |
---|---|---|
committer | 2023-07-21 10:29:01 -0700 | |
commit | b07cf4a9c2e93ef83f1bd194c035b0f10f1525ac (patch) | |
tree | 188eae5869b150306afad7f1af6317a2414bb386 /Source/Particles/WarpXParticleContainer.cpp | |
parent | 37cbbbf2d9dd5ba83a43d678f480009ac00af124 (diff) | |
download | WarpX-b07cf4a9c2e93ef83f1bd194c035b0f10f1525ac.tar.gz WarpX-b07cf4a9c2e93ef83f1bd194c035b0f10f1525ac.tar.zst WarpX-b07cf4a9c2e93ef83f1bd194c035b0f10f1525ac.zip |
Update inputs files in WarpX (#4103)
Due to the recent changes in amrex::ParmParse, we must use the line
continuation character '\' for values spanning multiple lines. For Parser
expression, we could either double quotes to enclose the whole string or use
`\` as line continuation.
The old style multi-line values were removed in AMReX to avoid mistakes like
algo.current_deposition = direct
# galilean
psatd.use_default_v_galilean # Forgot = 1
Here, `psatd.use_default_v_galilean` is silently ignored because with the
old style multi-line support it becomes part of the values for the previous
definition (i.e., `algo.current_deposition = direct
psatd.use_default_v_galilean`). This case will now abort.
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
0 files changed, 0 insertions, 0 deletions