Return the vertex global id given the local one.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(facet_object), | intent(in) | :: | self | Facet. |
||
| integer(kind=I4P), | intent(in) | :: | vertex_id | Local vertex id. |
Gloval vertex id.
pure function vertex_global_id(self, vertex_id)
!< Return the vertex global id given the local one.
class(facet_object), intent(in) :: self !< Facet.
integer(I4P), intent(in) :: vertex_id !< Local vertex id.
integer(I4P) :: vertex_global_id !< Gloval vertex id.
vertex_global_id = (self%id - 1) * 3 + vertex_id
endfunction vertex_global_id