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

New statevariable handling, non-breaking user changes #27

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

KnutAM
Copy link
Owner

@KnutAM KnutAM commented Jul 4, 2024

Wraps the state variables returned to the user in a StateVector, but this is also indexed by the cellnumber, hence according to the docs. The key advantage is that this type allows modifying the underlying data by changing a pointer, allowing for easy update of state variables, and this makes it easier to update the state variables if we want to reuse the buffer for multiple simulations, but with different state variables (typical for rve simulations).

@KnutAM KnutAM merged commit 1426b99 into main Jul 4, 2024
8 checks passed
@KnutAM KnutAM deleted the kam/statevariables branch July 4, 2024 14:30
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.

1 participant