festim-dev / FESTIM

Coupled hydrogen/tritium transport and heat transfer modelling using FEniCS
https://festim.readthedocs.io/en/stable/
Apache License 2.0
90 stars 23 forks source link

Simplify custom tagging of meshes #755

Closed RemDelaporteMathurin closed 3 months ago

RemDelaporteMathurin commented 5 months ago

Proposed changes

This PR brings some simplification in subdomains:

An example of how this simplifies a lot of things is the refactoring of the system tests!

@jhdark an additional simplification would be to enable users to provide a geometrical locator function when defining a subdomain (instead of creating a custom class). What do you think?

Types of changes

What types of changes does your code introduce to FESTIM?

Checklist

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.90%. Comparing base (8d3ab7b) to head (072578b). Report is 72 commits behind head on fenicsx.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## fenicsx #755 +/- ## =========================================== + Coverage 98.39% 98.90% +0.51% =========================================== Files 28 28 Lines 1554 1550 -4 =========================================== + Hits 1529 1533 +4 + Misses 25 17 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

RemDelaporteMathurin commented 3 months ago

@jhdark is this ok to be merged? I would like to merge it before #735 as it may bring some conflicts