MeshCellMarker

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

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (1)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]=
Introduced in 2014
(10.0)
Translate this page: