Function wafer::potential::generate[][src]

pub fn generate(config: &Config) -> Result<Array3<R64>, Error>

A public wrapper around potential. Where potential does the calculation for a single point, generate builds the entire grid.

Arguments

Returns

A 3D array of potential values of the requested size. Or an error if called on the wrong potential type.