fast-aircraft-design / FAST-OAD

FAST-OAD: An open source framework for rapid Overall Aircraft Design
GNU General Public License v3.0
47 stars 25 forks source link

Model derivation #519

Open christophe-david opened 3 months ago

christophe-david commented 3 months ago

This PR proposes a way to decide submodels when registering an OpenMDAO system.

By applying that to the derived class of an already registered class, it allows to reuse this registered component, but with imposed submodels.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 97.22222% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 84.62%. Comparing base (6595a97) to head (64658d0). Report is 7 commits behind head on master.

Files Patch % Lines
src/fastoad/_utils/wrapt.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #519 +/- ## ========================================== + Coverage 84.60% 84.62% +0.01% ========================================== Files 137 138 +1 Lines 6250 6263 +13 Branches 906 907 +1 ========================================== + Hits 5288 5300 +12 - Misses 808 809 +1 Partials 154 154 ```

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