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

Implementation of MultiFieldStyle in TransientMultiFieldFESpaces #943

Closed
oriolcg opened this issue Sep 27, 2023 · 5 comments
Closed

Implementation of MultiFieldStyle in TransientMultiFieldFESpaces #943

oriolcg opened this issue Sep 27, 2023 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@oriolcg
Copy link
Member

oriolcg commented Sep 27, 2023

Hi @JordiManyer and @amartinhuertas, I'm trying to extend the latest developments for MultiFieldFESpaces, e.g. MultiFieldStyle, to the transient case. I created a new branch for this development: https://github.com/gridap/Gridap.jl/tree/Transient_MultifieldStyle

When running the dedicated tests it seems that the matrices are well assembled, but the vector is not. I get a test fail in this line:

I haven't gone through all the details of BlockMultiFieldStyle and I'm struggling to figure out what can be going wrong. If you have some time, could you take a look at this error and point me to the right direction on how to fix this?

@oriolcg oriolcg self-assigned this Sep 27, 2023
@oriolcg oriolcg added the help wanted Extra attention is needed label Sep 27, 2023
@JordiManyer
Copy link
Member

Hi @oriolcg , I am a bit swamped atm, but make some time next week to have a look. Hopefully it's nothing too serious.

@JordiManyer JordiManyer self-assigned this Sep 28, 2023
@JordiManyer
Copy link
Member

Hi @oriolcg , I've pushed some fixes for your branch. Two things were failing:

  • First, there were dispatching issues. The assembler was not being created block-wise. This was due to the MultiFieldStyle not being correctly propagated from the transient FESpace to the single-time-point FESpaces spawned when calling Xb(t).

  • You also had some errors in the tests, where the integration data was not being created with the block-wise FESpaces. The FESpaces with which you integrate determine the assembly indices, which are different for BlockMultiFieldStyle (since we do not need to add offsets to the sub-space dof ids).

Everything should be working now. Let me know if you encounter any more issues.

@oriolcg
Copy link
Member Author

oriolcg commented Sep 29, 2023

Hi @JordiManyer, now it works. Thanks! Do you think we can merge these changes as they are?

@JordiManyer
Copy link
Member

Hi @oriolcg , let's do a PR. We'll have to edit the NEWS.md and clean up the tests, but overall everything look ok to me.

@oriolcg
Copy link
Member Author

oriolcg commented Oct 5, 2023

Done in #946

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants