Skip to content

Commit

Permalink
Added information to batch omf2vtk
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcortesortuno committed Jan 10, 2020
1 parent 249b5d5 commit a388d76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion oommfpy/tools/omf2vtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ def omf2vtk_batch(input_omfs,
Convert all OMF files (or with a different extension) into VTK files
according to the input path, which can be a directory or a path with a
wildcard expression. Progress of the conversion is printed on every
iteration
iteration.
IMPORTANT: this function assumes the OMF files in the folder come from
the SAME simulation, since the mesh grid is not updated. The loop only
updates the magnetisation field.
input_omfs :: a directory, or path with a wildcard, e.g. 'omfs/m_*.ovf'
output_format :: only binary
Expand Down

0 comments on commit a388d76

Please sign in to comment.