Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include inner surfaces in the output msh
All surfaces are tagged with: k = (n + m + 1) * (n + m) / 2 + n where, for outer surfaces, n is the surface tag of the respective triangle and m is zero and, for inner surfaces, n and m are the scalars from the current and opposite tets, respectively. Given k, define p: p = floor((-1 + sqrt(1 + 8 * k)) / 2) then: n = k - p * (p + 1) / 2 m = p - n
- Loading branch information