OOF2: The Manual
Name
OOF.Mesh.Copy — Copy a Mesh.
Synopsis
OOF.Mesh.Copy(mesh
,name
,copy_field
,copy_equation
,copy_bc
)
Details
- Parent Menu: OOF.Mesh
-
Callback: function
copyMesh
in moduleooflib.engine.IO.meshmenu
-
Parameters:
mesh
- Type: The path to an existing
Mesh
object. name
- Name of the copied Mesh. Use automatic selection, or type in a name. Type: A character string not containing ':', or the variable
automatic
. copy_field
- Copy fields? Type: Boolean, 0 (false) or 1 (true).
copy_equation
- Copy equation? Type: Boolean, 0 (false) or 1 (true).
copy_bc
- Copy boundary conditions? Type: Boolean, 0 (false) or 1 (true).
Description
Copy an existing Mesh
. The new Mesh
has the same Skeleton
and
Microstructure
as the old Mesh
, as well as the same types of finite
elements.
If copy_field
is true, then the new Mesh
will
have the same defined and active Fields
as the original Mesh
,
and the Fields
will have the same values. If
copy_field
is false, then no Fields
will be
defined in the new Mesh
.
If copy_equation
is true, then all Equations
that are active in the old Mesh
will be active in the new
Mesh
. If it is false, then no equations will be active in the
new Mesh
.
If copy_bc
is true, then boundary
conditions will be copied from the old Mesh
to the new.
It it is false, the new Mesh
will not have any boundary
conditions. It will have boundaries,
though, because boundaries are defined in the Skeleton
.