Function wafer::potential::load_arrays[][src]

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.

Arguments

Returns

A Potentials struct with the potential v and ancillary arrays a and b.