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

Updates in ReferenceElement_Method #296

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

vickysharma0812
Copy link
Member

@vickysharma0812 vickysharma0812 commented Mar 20, 2024

TL;DR

This pull request includes the addition of the 'GetElementIndex' method in the Geometry module. This new method returns the index of an element based on its topology.

What changed?

The changes can be noted in 'src/modules/Geometry/src/ReferenceElement_Method.F90' and 'src/submodules/Geometry/src/ReferenceElement_Method@GeometryMethods.F90'. A new function, 'GetElementIndex', has been added which returns the index of geometric elements like Point, Line, Triangle, Quadrangle, Tetrahedron, Hexahedron, Prism, and Pyramid based on their type.

How to test?

To validate these updates, build the project and validate that the new method correctly returns the expected indices when called with different geometric shapes.

Why make this change?

This change was needed as there was no method present earlier to retrieve the index of a geometric element based on its type. Hence, this new method 'GetElementIndex' would improve the functionality of the Geometry module.


Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @vickysharma0812 and the rest of your teammates on Graphite Graphite

@vickysharma0812 vickysharma0812 merged commit 1326b8c into dev Mar 21, 2024
2 checks passed
@vickysharma0812 vickysharma0812 deleted the 03-21-Updates_in_ReferenceElement_Method branch March 21, 2024 02:38
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.

None yet

1 participant