MeshCellMarker

MeshCellMarker

is an option to MeshRegion and BoundaryMeshRegion that specifies integer markers to associate with mesh cells.

Details

  • MeshCellMarker->{cellspec1->m1,} specifies that the mesh cells indicated by cellspeci should have mesh cell integer marker mi.
  • The marker mi needs to be a non-negative, machine-sized integer.
  • The cell specification cellspec follows the standard form described for MeshRegion and BoundaryMeshRegion.

Examples

Basic Examples  (1)

MeshCellMarker can be used to assign values to parts of a MeshRegion:

In[1]:=
Click for copyable input
Out[1]=

Use MeshCellLabel to show the markers:

In[2]:=
Click for copyable input
Out[2]=

MeshCellMarker can be used to assign values to parts of a BoundaryMeshRegion:

In[3]:=
Click for copyable input
Out[3]=

Use MeshCellLabel to show the markers:

In[4]:=
Click for copyable input
Out[4]=

See Also

MeshCellLabel  MeshCellHighlight  MeshCellStyle  MeshCellShapeFunction  MeshRegion  BoundaryMeshRegion  PropertyValue

Introduced in 2014
(10.0)