diff options
author | 2021-08-25 16:26:51 -0700 | |
---|---|---|
committer | 2021-08-25 16:26:51 -0700 | |
commit | 7a3f23aa649844bf03745da9e80f93a24fee88e5 (patch) | |
tree | 1b3cdff57b636c9bcdb5b8447be8c2e1a5183f6d /Source/Python | |
parent | 4b7189fd4da8cc0f2c4a7a2ac7fe4d64f20f553b (diff) | |
download | WarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.tar.gz WarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.tar.zst WarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.zip |
GetPosition 2D3V: y=0 (#2233)
In 2D3V, we currently assigned the y position a signaling NaN in
`GetPosition`, so that it cannot be used accidentially in functions.
When we call parser functions, this value is copied even if it is not
used, raising the signaling NaN.
Rethinking the strategy, we can write more general inputs files if
we instead write a sensible default for `y` in 2D3V: `y=0`. So this
PR changes the default, which also fixes the issue.
Diffstat (limited to 'Source/Python')
0 files changed, 0 insertions, 0 deletions