Function wafer::input::script_potential [−][src]
pub fn script_potential(
file: &str,
grid: &Grid,
bb: usize,
log: &Logger
) -> Result<Array3<R64>, Error>
Loads potential file from a script.
Arguments
file
- Path of script to generate data from.grid
- Thegrid
portion of theconfig
struct.bb
- Bounding box value for assigning central difference boundarieslog
- Reference to the system logger.