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

Address CA not working with non-uniform blocksizes #1193

Closed
lisa-bengtsson opened this issue Apr 26, 2022 · 0 comments
Closed

Address CA not working with non-uniform blocksizes #1193

lisa-bengtsson opened this issue Apr 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lisa-bengtsson
Copy link
Contributor

lisa-bengtsson commented Apr 26, 2022

Description

Currently the cellular automata scheme only works with uniform blocksizes limiting the layout combination used.

Solution

Update the code to work also on non-uniform blocksizes by making a small change stochastic_physics_driver.F90 to allow the cellular automata to work on non-uniform blocksizes. Previously the code aborted if not all blocks in the domain had the same size, however, the code works the way it's been formulated, so I simply removed the call to mpp_error in case on non-uniform blocksizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant