Function wafer::input::potential [−][src]
pub fn potential(
target_size: [usize; 3],
bb: usize,
file_type: &FileType,
log: &Logger
) -> Result<Array3<R64>, Error>
Loads potential file from disk. Handles cases where multiple files exist.
Arguments
target_size
- Size of the requested work area for this simulation. If the file on disk does not meet these dimensions, it will be scaled.file_type
- What type of file format to use in the output. Will be used as an arbitrator when multiple files are detected.log
- Reference to the system logger.