sfepy.discrete.fem.fe_surface module

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

Description of a surface of a finite element domain.

get_connectivity(local=False, is_trace=False)[source]

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.

is_trace : bool

If True, return mirror connectivity according to local.

setup_mirror_connectivity(region)[source]

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.