Skip to content

Vertex coordinate order changed after cull #602

Open

Description

@changliao1025

After the cull operation, some mesh cell vertex coordinates are switched in order, which creates invalid polygons.
Examples: using both the base and culled mesh, we can plot the mesh cell using the same cell center location:

Image
Image

and

Image
Image

The test mesh files are stored at:
/compyfs/liao313/mpas/out

Activity

  1. changliao1025 commented on Feb 4, 2025

    @changliao1025
    Author
  2. xylar commented on Feb 4, 2025

    @xylar
    Collaborator

    @changliao1025, thanks for reporting this problem. Sorry that it's happening!

    Just to be sure I understand, is the base mesh before or after it has gone through the mesh converter? (After, I assume, so we can eliminate that that is responsible?)

  3. changliao1025 commented on Feb 4, 2025

    @changliao1025
    Author

    @changliao1025, thanks for reporting this problem. Sorry that it's happening!

    Just to be sure I understand, is the base mesh before or after it has gone through the mesh converter? (After, I assume, so we can eliminate that that is responsible?)

    The base mesh was produced using the mesh converter, so it is not the JIGSAW triangular.

  4. changliao1025 commented on Feb 5, 2025

    @changliao1025
    Author

    There are a total of 189 incorrect cells in the mesh, and they are (possibly) all located on the coastline:

    Image

    For example:

    Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions