OOF2: The Manual

Name

OOF.Mesh.Boundary_Conditions.Rename — Give a boundary condition a new name.

Synopsis

OOF.Mesh.Boundary_Conditions.Rename(mesh,bc,name)

Details

  • Parent Menu: OOF.Mesh.Boundary_Conditions
  • Callback: function _bcrename in module ooflib.engine.IO.boundaryconditionmenu
  • Parameters:

    mesh
    Type: The path to an existing Mesh object.
    bc
    Old name of the boundary condition Type: A character string.
    name
    New name of the boundary condition Type: A character string.

Description

OOF.Mesh.Boundary_Conditions.Rename renames an existing boundary condition in the given Mesh.

The name must be unique among all of the boundary condition names in the mesh. If it is not unique, then <x> will be appended to it, where x is a suitable integer.