mmDisp is designed to be extensible, and in particular to accept new file formats. You can add your own format in two ways: by having a filter run automatically, or by completely integrating your file type into mmDisp by subclassing off the VectorFieldFileInput class in the C++ code.
The second step is to set up an environment variable named 'OOMMF_MMDISPFILTER' that is set to a Tcl-formatted list containing a
That should do it! Try firing up mmDisp and opening a file through the open file dialog box. (Sorry, command line support for the above filter function is not available in release 0.0a0.) If you get an error message about not being able to create a temporary file, you may need to set the environment variable "TMPDIR" (or "TEMP") to a directory with both write access and sufficient space to (temporarily) store the OOMMF Vector Field output file.
There is a sample filter function, viotoomf, included in the distribution. This converts from the *.vio format (an old format used by some NIST internal micromagnetic code) to the OOMMF Vector Field format. You can try setting up the OOMMF_MMDISPFILTER environment variable with this filter, and try reading the sample stdprobb.vio file included in the demos directory of the mmDisp distribution. However, *.vio files are currently handled internally by mmDisp via the next method of incorporating external file formats:
The National Institute of Standards and Technology (NIST) is an agency of the U.S. Commerce Department.
Freedom of Information Act (FOIA) /
No Fear Act Policy / ExpectMore.gov (performance of federal programs) / NIST Information Quality Standards /
Environmental Policy Statement
Date created: October 29, 1999 | Last updated: April 27, 2011 Contact: Webmaster