As `load_flux`, but negates the Fourier-transformed fields after they are loaded. This means that they will be *subtracted* from any future field Fourier transforms that are accumulated.
(self, fname, flux)
| 3615 | save_mode = save_flux |
| 3616 | |
| 3617 | def load_minus_flux(self, fname, flux): |
| 3618 | """ |
| 3619 | As `load_flux`, but negates the Fourier-transformed fields after they are loaded. |
| 3620 | This means that they will be *subtracted* from any future field Fourier transforms |
| 3621 | that are accumulated. |
| 3622 | """ |
| 3623 | self.load_flux(fname, flux) |
| 3624 | flux.scale_dfts(complex(-1.0)) |
| 3625 | |
| 3626 | load_minus_mode = load_minus_flux |
| 3627 |