Next: Vector field formats (OVF
Up: File Formats
Previous: Problem specification format (MIF)
Data table format (ODT)
Textual output from mmSolve applications that is not of the
vector field variety is output in the OOMMF Data Table (ODT)
format. This is an ASCII file format, with column information in
the header and one line of data per record. Any line ending in a
'\
' character is joined to the succeeding line before any other
processing is performed. Any leading '#' characters on the second
line are removed.
As with the OVF format, all non-data lines begin with a '#'
character, comments with two '#' characters. (This makes it easier
to import the data into external programs, for example, plotting
packages.) An example is included below.
The first line should be the file type descriptor
# ODT 1.0
This is followed by comments and any of the following 5 recognized
descriptor tag lines:
- Table Start: Optional, used to segment a file containing
multiple data table blocks. Anything after the colon is taken as
an optional lable for the corresponding data table block.
- Title: Optional; everything after the colon is
interpreted as a title for the table.
- Columns: Required. One parameter per column,
designating the label for that column. Spaces may be embedded in a
column label by using the normal Tcl grouping mechanisms (i.e.,
double-quotes and braces).
- Units: Optional. If given, it should have one
parameter for each column, giving a unit label for the
corresponding column.
- Table End: Optional, no parameters. Should be used in
conjuction with a corresponding Table Start record.
Data may appear anywhere after its Columns descriptor record
and before any Table End line, with one record per line.
The data should be numeric values separated by whitespace.
# ODT 1.0
# Table Start
# Title: This is a small sample ODT file.
#
## This is a sample comment. You can put anything you want
## on comment lines.
#
# Columns: Iteration "Applied Field" {Total Energy} Mx
# Units: {} "mT" "J/m^3" "A/m"
103 50 0.00636 787840
1000 32 0.00603 781120
10300 -5000 0.00640 -800e3
# Table End
OOMMF Documentation Team
August 12, 1998