mergeOrSplitBaffles.C File Reference

Detects faces that share points (baffles). Either merge them or duplicate the points. More...

Go to the source code of this file.

Detailed Description

Detects faces that share points (baffles). Either merge them or duplicate the points.

Original source file mergeOrSplitBaffles.C

Notes:

  • can only handle pairwise boundary faces. So three faces using the same points is not handled (is illegal mesh anyway)
  • there is no option to only split/merge some baffles.
  • surfaces consisting of duplicate faces can be topologically split if the points on the interior of the surface cannot walk to all the cells that use them in one go.
  • Parallel operation (where duplicate face is perpendicular to a coupled boundary) is supported but not really tested. (Note that coupled faces themselves are not seen as duplicate faces)

Definition in file mergeOrSplitBaffles.C.