-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors in the computation of edge length histo
- Calls the suitable function in PMMG_computePrilen when an aniso metric is provided with a specific metric storage at ridges (metRidTyp==1) - Check if metric is allocated before computing the edge lengths (to avoid memory errors) but inside the `MMG3D|PMMG_computePrilen` functions to be able to differentiate the cases where: - computePrilen fails due to memory error - We have a metric on at least one MPI proc so we can compute the edge lengths - We don't have any metric (and we cannot compute the edge length histo). In this case and with a centralized mesh on 1 proc and -v 10 verbosity, we were previously printing infinit edge lengths. It makes the PMMG_prilen function callable everywhere in the software.
- Loading branch information
Showing
2 changed files
with
51 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters