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

In-memory conversion to ESMPy Mesh/LocationStream #481

Open
bekozi opened this issue Apr 6, 2018 · 2 comments
Open

In-memory conversion to ESMPy Mesh/LocationStream #481

bekozi opened this issue Apr 6, 2018 · 2 comments
Milestone

Comments

@bekozi
Copy link
Contributor

bekozi commented Apr 6, 2018

Create an ESMF.Mesh or ESMF.LocationStream from geometries. Requirements to keep in mind:

  • Finding shared nodes
  • Point = ESMF.LocationStream
  • Line = ?
  • Polygon = ESMF.Mesh
  • Global/local indexing when parallel
  • Support single element

Ping @jhamman, @rokuingh

@bekozi
Copy link
Contributor Author

bekozi commented Jun 6, 2018

This is working for polygon geometry collections that do not have multi-geometries or interiors. We need to add multi-geometry break support to the ESMPy interface to allow this. @rokuingh is aware and is looking into it. Right now, break values work when reading from the ESMF Unstructured Format.

@bekozi
Copy link
Contributor Author

bekozi commented Jun 11, 2018

We need to add multi-geometry break support to the ESMPy interface to allow this.

This was a bug on the ocgis end, but does need some TLC in the ESMPy mesh interface. Basically, the break values in addition to the element connectivity indices were getting one added when converting from 0-based to 1-based indexing. We probably need a has_multi flag for the ESMPy mesh creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant