OOF2: The Manual
Name
OOF.File.Save.Mesh — Save a Mesh to a file.
Synopsis
OOF.File.Save.Mesh(filename
,mode
,format
,mesh
)
Details
- Parent Menu: OOF.File.Save
-
Callback: function
saveMesh
in moduleooflib.engine.IO.meshmenu
-
Options:
disabled
=1
-
Parameters:
filename
- Name of the file. Type: A character string.
mode
- 'w' to (over)write and 'a' to append. Type: An object from the
WriteMode
enumerated class. format
- Format of the file. Type: An object from the
DataFileFormatExt
enumerated class. mesh
- Name of the Mesh. Type: The path to an existing
Mesh
object.
Description
Save a Mesh
to a file, together with its Skeleton
, Microstructure
, and
all of its Materials
. All information about Fields
,
Equations
, and boundary
conditions is saved as well.
The format
argument is one of the data file
formats discussed in Section 2.6. The
varname
argument is the path to the Mesh
that is
being saved.