Facet

class dolfin.cpp.mesh.Facet(*args)

Bases: dolfin.cpp.mesh.MeshEntity

A Facet is a MeshEntity of topological codimension 1.

Constructor

adjacent_cells()

Return adjacent cells. An optional argument that lists for each facet the index of the first cell may be given to specify the ordering of the two cells. If not specified, the ordering will depend on the (arbitrary) ordering of the mesh connectivity.

exterior()

Return true if facet is an exterior facet (relative to global mesh, so this function will return false for facets on partition boundaries). Facet connectivity must be initialized before calling this function.

normal()

Overloaded versions

  • normal(i)

    Compute component i of the normal to the facet

  • normal()

    Compute normal to the facet

thisown

The membership flag