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

Support for IMPLICIT_TIME_DEPENDENT equation types & Advection application #268

Merged
merged 12 commits into from
Oct 22, 2024

Conversation

landinjm
Copy link
Contributor

Finished the partial implementation of implicit equations from a few years ago.

Right now, we store the old solution value for all implicit equation type fields with a boost::unordered_map. This should allow for straightforward extension to higher order time schemes (by indexing previous time states).

The performance is about the same, if not slightly worse, since we have to check whether we have a map entry that needs to be copied for each field index in solveIncrement.cc. This can likely be circumvented by another bool entry to the variable_info struct.

Closes #228

@landinjm
Copy link
Contributor Author

I've switched to a bool, but the performance seems to be about the same.

@landinjm landinjm marked this pull request as ready for review October 22, 2024 00:28
@landinjm landinjm merged commit f97e399 into prisms-center:development Oct 22, 2024
3 checks passed
@landinjm landinjm deleted the implicit_equation_types branch October 22, 2024 01:07
@landinjm landinjm restored the implicit_equation_types branch October 31, 2024 20:30
@landinjm landinjm deleted the implicit_equation_types branch October 31, 2024 20:30
@landinjm landinjm restored the implicit_equation_types branch October 31, 2024 20:32
landinjm added a commit that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant