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

Feature/pbdw #1786

Merged
merged 102 commits into from
Mar 15, 2022
Merged

Feature/pbdw #1786

merged 102 commits into from
Mar 15, 2022

Conversation

romainhild
Copy link
Contributor

  • 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 ?

  • add PbdwOnline class without template for online phase of PBDW
  • add possibility to use only some sensors during online phase
  • add outputs to PBDW
  • add outputs to toolboxmor
  • add method to initialize toolboxmor directly with a toolbox
  • add python wrapping for PBDW
  • add test for PBDW

thomas-saigre and others added 30 commits October 26, 2021 18:41
Before : return std::make_tuple(Mqm, Aqm, Fqm);
Now : return std::make_tuple(Aqm, Fqm, Mqm);

it will be compatible with python script not knowing if the problem il time-dpendant or not
the documentation is for now available in the report of internship (section 9.7)
this code should be working.
The time-dependant version will follow soon
/cc @prudhomm
[ci skip]
WARNING : it is not finished yet, and the part written
have not been tested yet with the pyfeelpp modules

[ci skip]
[ci skip]
(this modification was from a discussion a long time ago,
I just forgot to commit it)
(not tested yet)
this implementation won't word if the mass matrix
depends on the parameter, but the python script
reducedbasis takes that in account
[ci skip]
only working when M is independant of mu
still issues at execution
one test running greedy algotithm is long
use pytest-3 -m "not long" to skip it
Co-authored-by: Christophe Prud'homme <christophe.prudhomme@feelpp.org>
Co-authored-by: thomas-saigre <saigre@math.unistra.fr>
/TODO @thomas-saigre :
add argument to pytest to give path toward cfg file
use this line to import the module in a script
```
from feelpp.mor.reducedbasis.reducedbasis import *
```
- assemble PETSc mat is they are not assembled yet
- add more loop in Gram-Schmidt algo
- fix call to reducedbasis module

[ci skip]
@romainhild
Copy link
Contributor Author

@prudhomm @vincentchabannes I think this is ready to be merged.
Can you review the changes ?

@prudhomm prudhomm self-requested a review March 8, 2022 20:31
feelpp/feel/feelmodels/modeloutputs.hpp Outdated Show resolved Hide resolved
feelpp/pyfeelpp/feelpp/operators.cpp Show resolved Hide resolved
mor/pyfeelpp-mor/feelpp/mor/__init__.py Outdated Show resolved Hide resolved
mor/pyfeelpp-mor/feelpp/mor/pbdw.cpp Show resolved Hide resolved
mor/pyfeelpp-mor/tests/CMakeLists.txt Show resolved Hide resolved
mor/pyfeelpp-mor/tests/CMakeLists.txt Show resolved Hide resolved
@prudhomm
Copy link
Member

prudhomm commented Mar 9, 2022

@romainhild could you fix the little things above ?

@prudhomm
Copy link
Member

@romainhild
Copy link
Contributor Author

@prudhomm this is a test with a random set of parameters, it seems that for this set we did not reach the tolerance (error: in "eq_suite/test_1": absolute value of i11 - i12{1.0829318330962678e-08} exceeds 1e-08).
I'll use a greater tolerance.

@prudhomm prudhomm merged commit c462504 into develop Mar 15, 2022
@prudhomm prudhomm deleted the feature/pbdw branch March 15, 2022 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants