wafer::potential
pub fn load_arrays(config: &Config, log: &Logger) -> Result<Potentials, Error>
Handles the potential loading from file, or generating depending on configuration Ancillary arrays are also generated here.
config
log
A Potentials struct with the potential v and ancillary arrays a and b.
Potentials
v
a
b