Function wafer::input::potential_sub [−][src]
pub fn potential_sub(
target_size: [usize; 3],
file_type: &FileType,
log: &Logger
) -> Result<(Option<Array3<R64>>, Option<R64>), Error>
Loads potential_sub 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 is a full array, and 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.