Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolves 2143: clean mor #2146

Merged
merged 22 commits into from
Aug 21, 2023
Merged

resolves 2143: clean mor #2146

merged 22 commits into from
Aug 21, 2023

Conversation

prudhomm
Copy link
Member

@prudhomm prudhomm commented Jul 15, 2023

  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes?
  • Have you successfully run the Feel++ testsuite with your changes locally?
  • Have you written Doxygen comments in your contribution ?

skip feelpp skip tests skip toolboxes

- add clearer exception messages
- add interface to control configuration

re-enable and fix mor testcases #2144

skip feelpp skip tests skip toolboxes
@prudhomm prudhomm self-assigned this Jul 15, 2023
@prudhomm prudhomm linked an issue Jul 15, 2023 that may be closed by this pull request
5 tasks
@prudhomm prudhomm changed the title resolves 2143: re-enable and start fixing opusheat resolves 2143: clean mor Jul 15, 2023
re-enable and fix mor testcases #2144
make the mor plugin system foolproof #2145
re-enable and fix mor testcases #2144
- enable headshield re-enable and fix mor testcases #2144

skip feelpp skip tests skip toolboxes
- add research directory in mor
- allow change root Repo in onlinerun -> make the mor plugin system foolproof #2145
- look for mor plugin first in the same dir as the DB, then look in the system -> make the mor plugin system foolproof #2145

skip feelpp skip tests skip toolboxes
- simplify use of onlinerun
- make it work for time series outputs
- fixed correctionTerms perfs (no more quadratic complexity)
- added timer with level 3 verbosity

skip feelpp skip tests skip toolboxes
the erro bound now should be correct, there was a bug in the computation.

skip feelpp skip tests skip toolboxes
- Added a new struct MORObserver to the codebase for observing the models
- Added a new struct MORModels to represent a list of models for a given problem
- Added a new class MORTable for storing and displaying results in a table format
- Added a new class MORExporter for exporting results to files
- Updated the run() function in MORModels to accept a sampling parameter
- Updated the initExporter() and saveExporter() functions in MORModels to use the first model exporter for all exports if load==all
- Updated the update() function in the MORExporter class to export fields for all models
- Updated the update() function in the MORTable class to populate the table with results for all models
- Updated the run() function in MORModels to generate and return results for all models and output configurations

skip feelpp skip tests skip toolboxes
add support for mor_python that will enable in cmake the mor and python components only (of course feelpp and toolboxes need to be already installed on the system)

/cc @thomas-saigre @lberti @Hassan-Ballout21
skip feelpp skip tests skip toolboxes
add notebook to test it out
set FEELPP_MOR_FOUND to true if in mor+python case
worked on a new architecture for the mor db that would have both the db  the plugin and some metadata that would allow to gather all outputs of a given model

skip feelpp skip tests skip toolboxes
now a MORModels can be created from
  - a path to the directory containing the json file binaries and db
  - a .fpp file (zip archive) that will provide the same previous information (json + binaries + db)

/cc @thomas-saigre @Hassan-Ballout21 @lberti

skip feelpp skip tests skip toolboxes
- clean mor  #2143

and improve ParameterSpace classes Element and Sampling

skip feelpp skip tests skip toolboxes
clean mor  #2143

skip feelpp skip tests skip toolboxes
skip feelpp skip tests skip toolboxes
use more explicit/informative exceptions

clean mor  #2143

skip feelpp skip tests skip toolboxes
@prudhomm prudhomm merged commit c536006 into develop Aug 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2 participants