Skip to content

Remove fuzz and return face id alongside element id (Replace stale #308)#319

Draft
Sichao25 wants to merge 4 commits into
SCOREC:developfrom
Sichao25:yus/transfer
Draft

Remove fuzz and return face id alongside element id (Replace stale #308)#319
Sichao25 wants to merge 4 commits into
SCOREC:developfrom
Sichao25:yus/transfer

Conversation

@Sichao25
Copy link
Copy Markdown
Contributor

Resolved the merge conflict and updated the PR #308 to fit the new field API.

* should be updated to properly handle the new result.
*/
[[nodiscard]] virtual LO GetOwningElementId(const Result& result) const = 0;
[[nodiscard]] virtual Kokkos::View<LO*> GetOwningElementIds(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these GetOwningElementId functions be made into free functions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible, but since we need to access some private members, more API changes such as getter functions are required.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so I think we should probably have a free function that given mesh, dim, id gives back the owning element. The member function can call this.

The free function version will be useful in a number of other places.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants