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
copyMeshin moduleooflib.engine.IO.meshmenu -
Parameters:
mesh- Type: The path to an existing
Meshobject. name- Name of the copied Mesh. Type: A character string containing no colons (:), or the value
automatic. copy_field- Copy fields? Type: Boolean: True or False.
copy_equation- Copy equation? Type: Boolean: True or False.
copy_bc- Copy boundary conditions? Type: Boolean: True or False.
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.



