dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 37 forks source link

Goal-Oriented Adaptive Sampling and Addition of Eigen Library #156

Closed donovan97 closed 2 years ago

donovan97 commented 2 years ago

Pull request for goal-oriented adaptive sampling for reduced-order models and the addition of the Eigen library to the code.

The pull request introduces significant changes to the reduced-order modeling. All of the old reduced-order modeling code is replaced as it did not work for cases run on multiple processors. Unused code and tests were also removed.

Summary of main changes:

Changes to Functional class:

ODE solver changes:

Test changes:

reduced_order directory changes:

Addition of Eigen library:

The pull request also adds the Eigen library as a submodule (see .gitmodules). Therefore, after merging the PR, everyone will have to update their git submodules to download the Eigen library in the submodules directory. This may need to be done with the command: git submodule update --init --recursive

All required tests are passing and the addition of Eigen is not causing issues on Narval.

jbrillon commented 2 years ago

I added @cpethrick since she's working with the ODE solver

donovan97 commented 2 years ago

Great PR. The addition of the Eigen library seems very convenient, and it looks like you've put significant effort towards improving the reduced-order capabilities of PHiLIP. There's already been some great discussion already about the ODE Solver section, which I contributed to where I saw fit. I have a few fairly minor comments.

Does the addition of the Eigen library necessitate an update to the documentation/readme/installation files? If so, that should be added to your PR.

Since Eigen was added as a submodule, git should handle it automatically for a new installation, like the other existing submodules. For anyone who already has PHiLiP installed, you will likely need to update your git submodules using the command: git submodule update --init --recursive

dougshidong commented 2 years ago

Thanks everyone for the thorough review and great job. There was a relatively high number of changes and the review comments were all insightful. Thanks for making the changes as well Donovan.

Keep it up.