Note that for sake of clarity in tetrahedra the boundary test on external face has been renamed as IsTTBorder Moved the boundary mesh creation into a more appropriate place...