Skip to content

Assignation of tags to polylines nodes in src_json_parser/mesh.F90 #170

@ashybabashyba

Description

@ashybabashyba

Sometimes, some of the initialized tags are not updated so they are saved with a -1, but the order continues so that the updated tags follow the id of the corresponding nodes until the expected dimension is filled.

Since the last tag is always replaced with the tag of the last node in the polyline, previous node IDs may be deleted.

For example, if we are following a polyline defined like this:

"type": "polyline",
"coordinateIds": [
6,
3,
1,
7
]

and if for some reason the third node is not detected in the third iteration we would obtain the tags 6, 3, -1, 1. At the end of the code the last tag is replaced and we would then have 6, 3, -1, 7. Which is different from the base polyline.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions