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

Spaces.horizontal_space(ClimaCore.level(space, 1)) returns an extruded space #2197

Open
Sbozzolo opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Sbozzolo
Copy link
Member

surface = ClimaCore.level(space, 1) retains information about the full 3D grid it belongs to. As a result, when Spaces.horizontal_space is applied to it, it turns the full 3D grid, which is counter-intuitive.

In addition, this means that it is impossible to extract the horizontal grid without accessing the internals and manually re-creating a new SpectralElement2DSpace

@Sbozzolo Sbozzolo added the bug Something isn't working label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant