Load the Fourier-transformed fields into the given flux object (replacing any values currently there) from the `FluxData` object `fdata`. You must load from an object that was created by `get_flux_data` in a simulation of the same dimensions (for both the cell and th
(self, flux, fdata)
| 3636 | get_mode_data = get_flux_data |
| 3637 | |
| 3638 | def load_flux_data(self, flux, fdata): |
| 3639 | """ |
| 3640 | Load the Fourier-transformed fields into the given flux object (replacing any |
| 3641 | values currently there) from the `FluxData` object `fdata`. You must load from an |
| 3642 | object that was created by `get_flux_data` in a simulation of the same dimensions |
| 3643 | (for both the cell and the flux regions) with the same number of processors and |
| 3644 | chunk layout. |
| 3645 | """ |
| 3646 | mp._load_dft_data(flux.E, fdata.E) |
| 3647 | mp._load_dft_data(flux.H, fdata.H) |
| 3648 | |
| 3649 | load_mode_data = load_flux_data |
| 3650 |
no outgoing calls
no test coverage detected