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

Allow objects with storage attribute as call arguments to FrozenStencil #19

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

mcgibbon
Copy link
Collaborator

This PR modifies FrozenStencil so that it checks for a .storage attribute and uses that instead when called.

@@ -594,12 +594,12 @@ def __call__(self, state):
)
self.riem_solver_c(
dt2,
state.cappa,
state.cappa_quantity,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is done mainly to show that the code works, it will be swiftly edited anyways when all of these are passing Quantity objects.

Copy link
Contributor

@eddie-c-davis eddie-c-davis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcgibbon mcgibbon merged commit 3b2b49f into main Nov 17, 2021
@mcgibbon mcgibbon deleted the feature/quantity_to_frozenstencil branch November 17, 2021 21:10
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.

2 participants