Load the Fourier-transformed fields into the given force object (replacing any values currently there) from the `ForceData` object `fdata`. You must load from an object that was created by `get_force_data` in a simulation of the same dimensions (for both the cell and
(self, force, fdata)
| 3472 | ) |
| 3473 | |
| 3474 | def load_force_data(self, force, fdata): |
| 3475 | """ |
| 3476 | Load the Fourier-transformed fields into the given force object (replacing any |
| 3477 | values currently there) from the `ForceData` object `fdata`. You must load from an |
| 3478 | object that was created by `get_force_data` in a simulation of the same dimensions |
| 3479 | (for both the cell and the flux regions) with the same number of processors and |
| 3480 | chunk layout. |
| 3481 | """ |
| 3482 | mp._load_dft_data(force.offdiag1, fdata.offdiag1) |
| 3483 | mp._load_dft_data(force.offdiag2, fdata.offdiag2) |
| 3484 | mp._load_dft_data(force.diag, fdata.diag) |
| 3485 | |
| 3486 | def load_minus_force_data(self, force, fdata): |
| 3487 | """ |
no outgoing calls