Function wafer::output::wavefunction [−][src]
pub fn wavefunction(
phi: &ArrayView3<R64>,
num: u8,
converged: bool,
project: &str,
file_type: &FileType
) -> Result<(), Error>
Saves a wavefunction to disk, and controls what format (plain text or binary) the data should be handled as.
Arguments
phi- The wavefunction to output. This should be a view called fromgrid::get_work_area().num- The wavefunction's excited state value for file naming.converged- A bool advising the state of the wavefunction. If false, the filename will have_partialappended to it to indicate a restart is required.project- The project name (for directory to save to).file_type- What type of file format to use in the output.