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

questions about hyper-reduction and masking #28

Open
gokhalen opened this issue Jan 4, 2023 · 4 comments
Open

questions about hyper-reduction and masking #28

gokhalen opened this issue Jan 4, 2023 · 4 comments

Comments

@gokhalen
Copy link

gokhalen commented Jan 4, 2023

Hello,

  1. What is the difference between hyper-reduction and masking? Which one is more efficient? I think it is hyper-reduction.

  2. Is there a demo of hyper-reduction available? I'm interested in a demo corresponding to the following link

https://pressio.github.io/pressio4py/html/md_pages_components_rom_lspg_hypred.html

  1. Where can I browse the source? I can't find source corresponding to , let's say,
    pressio4py.rom.lspg.unsteady.HypredProblem

Thanks in advance,

Nachiket

@fnrizzi
Copy link
Member

fnrizzi commented Jan 6, 2023

Hello,

  1. What is the difference between hyper-reduction and masking? Which one is more efficient? I think it is hyper-reduction.

masking is just a trick to have the behavior of hyperreduction but without the difficulties of hyperreduction. Basically masking still uses the full FOM and only applies a filter to select specific elements.

  1. Is there a demo of hyper-reduction available? I'm interested in a demo corresponding to the following link

Unfortunately there is not one.
We don't have resources at the moment to revise pressio4py.
However we do have a hyperreduction example in our tutorials but that uses c++ , see this: https://pressio.github.io/pressio-tutorials/endtoend/swe_lspg_hypred_1.html. but keep in mind this uses the c++ code that is more updated than pressio4py

  1. Where can I browse the source? I can't find source corresponding to , let's say,

pressio4py.rom.lspg.unsteady.HypredProblem

here is the source: https://github.com/Pressio/pressio4py/blob/main/src/lspg_unsteady.hpp
You have to read c++ code since the prssio4py is just binding the c++ code.
not sure how clear this is to you. This code should greatly simplify if we had the time to update pressio4py to use the latest c++ version but right now we don't have the bandwidth

@fnrizzi
Copy link
Member

fnrizzi commented Jan 6, 2023

I am away from my laptop so I will reply more later when I get to it

@gokhalen
Copy link
Author

gokhalen commented Jan 6, 2023

Thank you very much.

@fnrizzi
Copy link
Member

fnrizzi commented Jan 6, 2023

@gokhalen i updated the comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants