# sfepy.discrete.fem.fe_surface module

class sfepy.discrete.fem.fe_surface.FEPhantomSurface(name, region, volume_econn)

  A phantom surface of the region with tdim=2.

class sfepy.discrete.fem.fe_surface.FESurface(name, region, efaces, volume_econn, volume_region=None)

  Description of a surface of a finite element domain.

  static from_region(name, region, ret_gel=False)
  get_connectivity(local=False, trace_region=None)

    Return the surface element connectivity.

    Parameters:
      local bool

        If True, return local connectivity w.r.t. surface nodes, otherwise return global connectivity w.r.t. all mesh nodes.

      trace_trace None or str

        If not None, return mirror connectivity according to local.

  set_orientation_map()
  setup_mirror_connectivity(region, mirror_name)

    Setup mirror surface connectivity required to integrate over a mirror region.

    1. Get orientation of the faces: a) for own elements -> ooris b) for mirror elements -> moris

    2. orientation -> permutation.