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

[RomApp] Separate Basis Generation and File Writing Processes #12271

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

Rbravo555
Copy link
Member

📝 Description
This PR aims to split file generation/updating from the computation of the computationally expensive SVD, ensuring efficiency and scalability.
As part of our ongoing efforts to optimize our architecture, we plan to introduce a database that manages RightBasis and LeftBasis in future Prs. When the database is in place, only the file updating will be launched if the bases already exist.

🆕 Changelog

  • Implemented splitting in CalculateRomBasisOutputProcess of SVD and files writting.
  • Made some methods non-private in PetrovGalerkinTrainingUtility to facilitate calls from RomManager.
  • Removed unused methods in PetrovGalerkinTrainingUtility.
  • Modified RomManager to accommodate the split generation of the left basis and the writting of the files.

@Rbravo555 Rbravo555 added FastPR This Pr is simple and / or has been already tested and the revision should be fast ROM labels Apr 12, 2024
@Rbravo555 Rbravo555 requested a review from a team as a code owner April 12, 2024 10:43
Rbravo555 added a commit that referenced this pull request Apr 12, 2024
we need to update the RomParameter.json without expensive computations if stuff is in the data_base
@Rbravo555
Copy link
Member Author

ping

Copy link
Contributor

@SADPR SADPR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fast PR. LGTM.

@SADPR SADPR merged commit 5571927 into master Apr 16, 2024
11 checks passed
@SADPR SADPR deleted the RomApp_SplitBasisGenerationProcess branch April 16, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FastPR This Pr is simple and / or has been already tested and the revision should be fast ROM
Projects
Development

Successfully merging this pull request may close these issues.

3 participants