Skip to main content

Centroid

Returns the centroid of a triangle.

MODULE FUNCTION Centroid( refelem, xij ) RESULT( Ans )
CLASS(ReferenceTriangle_), INTENT( IN ) :: refelem
REAL( DFP ), INTENT( IN ) :: xij(:,:)
REAL( DFP ) :: Ans(3)
END FUNCTION Centroid