Function wafer::input::wavefunction [−][src]
pub fn wavefunction(
wnum: u8,
target_size: [usize; 3],
bb: usize,
file_type: &FileType,
log: &Logger
) -> Result<Array3<R64>, Error>
Loads wavefunction file from disk. Handles cases where multiple files exist.
Arguments
wnum
- Excited state level of the wavefunction to load.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
- Configuration flag concerning output file types. Will be used as an arbitrator when multiple files are detected.log
- Reference to the system logger.