Skip to content

pack_gap

Sarah Roggendorf edited this page Jan 20, 2022 · 1 revision

Computes distance vector from surface with index origin_meshtag to other surface Requires create_distance_map to be called beforehand.

Input

  • origin_meshtag - index of surface on which to integrate

Output

  • {c, cstride}: gap packed on facets. c[icstride + gdimk +j] contains jth component of the gap on the ith facet at kth quadrature point

Member variables accessed

  • _qp_phys
  • _facet_maps (created with create_distance_map)
  • _facets
  • _qp_ref_facet (shape only)

Changes needed for variable gap

  • _qp_phys must be computed on submesh with updated geometry
  • master_coords has to be computed on submesh with updated geometry
Clone this wiki locally