tem_BaryOfCoord Function

public pure function tem_BaryOfCoord(coord, nPoints, origin, dx) result(bary)

This function provides the coordinates of the element barycenters for a set of given element coordinates on the same refinement level.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: coord(nPoints,3)
integer, intent(in) :: nPoints
real(kind=rk), intent(in) :: origin(3)

spatial index triple for a given ID

real(kind=rk), intent(in) :: dx

Return Value real(kind=rk)(nPoints,3)


Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: ii
real(kind=rk), private :: c(3)