Skip to content

Extracting all nodes / vertices of a forest or tree? #2168

@hilldean09

Description

@hilldean09

Extracting all nodes / vertices of a forest or tree?

Is there a function or method for extracting the vertices of a t8_forest_t or t8_tree_t object within T8code? I have been looking through the documentation and source code but have been unable to find such a function or routine myself.

Alternatively, is there a method for converting t8_forest_t or t8_tree_t objects into p4est compatible forms as p4est has a particular function to achieve my desired end goal (p4est_lnodes_new)? I am less familiar with p4est and how T8code interfaces with it apologies.

End Goal

My end goal in this is to obtain a global ordering of the nodes / vertices of T8code's forest structure that I will later experiment with reordering the cell local node indexing to utilize T8code within Gridap.jl.

Thank you very much for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In-Box

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions