Skip to content

Commit

Permalink
fix OVF1 valueunit
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed May 26, 2015
1 parent 8413689 commit 8c6aea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oommf/ovf1.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func writeOVF1Header(out io.Writer, q *data.Slice, meta data.Meta) {
hdr(out, "znodes", gridsize[Z])
hdr(out, "ValueRangeMinMag", 1e-08) // not so "optional" as the OOMMF manual suggests...
hdr(out, "ValueRangeMaxMag", 1) // TODO
hdr(out, "valueunit", "?")
hdr(out, "valueunit", meta.Unit)
hdr(out, "valuemultiplier", 1)

hdr(out, "End", "Header")
Expand Down

0 comments on commit 8c6aea9

Please sign in to comment.