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

Added a feature for concurrently running several computations #554

Open christophe-david opened 1 month ago

christophe-david commented 1 month ago

This PR adds the CalcRunner class:

The follow-up of this PR will be:

In a second time, adding a way of building the computation inputs (i.e a DoE) will be useful.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 85.00000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 91.69%. Comparing base (fe49814) to head (531d5c9). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/fastoad/cmd/calc_runner.py 76.81% 9 Missing and 7 partials :warning:
src/fastoad/io/configuration/configuration.py 97.56% 0 Missing and 1 partial :warning:
src/fastoad/openmdao/problem.py 88.88% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #554 +/- ## ========================================== - Coverage 91.84% 91.69% -0.15% ========================================== Files 97 98 +1 Lines 5957 6070 +113 Branches 931 955 +24 ========================================== + Hits 5471 5566 +95 - Misses 328 338 +10 - Partials 158 166 +8 ```

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