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

Using broadcasting in ThetaMethod updates #858

Merged
merged 1 commit into from
Dec 24, 2022

Conversation

amartinhuertas
Copy link
Member

No description provided.

@oriolcg
Copy link
Member

oriolcg commented Dec 22, 2022

Hi @amartinhuertas, would it be an option to use the @. macro?

Also, this change also applies to other time integration schemes, right? I can do the changes there.

@amartinhuertas
Copy link
Member Author

would it be an option to use the @. macro?

Definitely yes. I always forget about the macro. Thanks for pointing this out!

Also, this change also applies to other time integration schemes, right? I can do the changes there.

Absolutely yes. I guess there will be other ode solvers where this may have been overlooked (resulting in frequent temporary memory allocation of system vectors). If you can take a look at that it would be great (I am not that familiar with the ODEs module of Gridap).

@santiagobadia santiagobadia merged commit ced63bb into master Dec 24, 2022
@santiagobadia santiagobadia deleted the using_broadcasting_in_theta_methods branch December 24, 2022 06:52
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

Successfully merging this pull request may close these issues.

None yet

3 participants