-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance optimization. The test on the injectivity of the
tface_to_mface_map of BodyFittedTriangulation is moved to the BodyFittedTriangulation constructor, so that it is performed only once and not each time we call get_glue. Added a trait to BodyFittedTriangulation that stores the result of the test on injectivity. Besides, for correctness, the mface_to_tface_map is set to nothing as currently PosNegPartition is not prepared to handle non-injective mappings. This will have to be replaced by a proper data structure that is able to handle non-injective mappings if in the future we find an scenario in which this inverse mapping is required to be used.
- Loading branch information
1 parent
dc1f4cf
commit 7741e18
Showing
2 changed files
with
41 additions
and
18 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