The mifconvert utility converts any of the MIF formats into the MIF 2.1 format used by the Oxs 3D solvers. It can also convert between the MIF 1.1 and MIF 1.2 formats generated by micromagnetic problem editor, mmProbEd.
As a migration aid, mifconvert will convert most files from the obsolete MIF 2.0 format used by OOMMF 1.2a2 into the newer MIF 2.1 format.
Launching
The mifconvert launch command is:
tclsh oommf.tcl mifconvert [-f|--force] [--format fmt] [-h|--help] [--nostagecheck] [-q|--quiet] [--unsafe] [-v|--version] input_file output_file
where
Force overwrite of output file. Optional.
Specify output format, where fmt is one of 1.1, 1.2, or 2.1. The 1.1 and 1.2 formats are available only if the input file is also in the 1.x format. Conversion from the 2.1 format to the 1.x formats is not supported. Optional; default setting is 2.1.
Print help information and stop.
Sets the stage_count_check parameter in the output Oxs_Driver Specify block to 0; this disables stage count consistency checks inside the Oxs solver. Optional. This option is only active when the output MIF format is 2.1.
Suppress normal informational and warning messages. Optional.
Runs embedded Tcl scripts, if any, in unsafe interpreter. Optional.
Print version string and stop.
Name of the import micromagnetic problem specification file, in MIF 1.1, MIF 1.2, or MIF 2.0 format. Use “-” to read from stdin. Required.
Name of the export micromagnetic problem specification file. Use “-” to write to stdout. Required.