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

Add convenience accessors #908

Closed
charleskawczynski opened this issue Aug 22, 2022 · 0 comments · Fixed by #2012
Closed

Add convenience accessors #908

charleskawczynski opened this issue Aug 22, 2022 · 0 comments · Fixed by #2012
Labels
enhancement New feature or request

Comments

@charleskawczynski
Copy link
Member

We should add accessors for some ClimaCore internals. In CA#755, we access the following:

    hspace = Spaces.horizontal_space(center_space)
    horizontal_mesh = hspace.topology.mesh
    quad = horizontal_mesh.ne + 1
    vertical_mesh = center_space.vertical_topology.mesh
    z_max = vertical_mesh.domain.coord_max.z
    z_elem = length(vertical_mesh.faces) - 1
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

Successfully merging a pull request may close this issue.

1 participant