atl_refToPhysCoord Subroutine

public subroutine atl_refToPhysCoord(refPoints, nPoints, baryCoord, elemLength, physPoints)

Subroutine to move points defined on the reference element [-1,+1] to the physical element coordinates.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: refPoints(:,:)

The points of the reference elements you want to move to their physical location. Size is: nPoints for first dimension and 3 for the second dimension (x,y,z coordinates).

integer, intent(in) :: nPoints

The number of points to move.

real(kind=rk), intent(in) :: baryCoord(3)

The barycentric coordinate of the element you want to map to (x,y,z coord)

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

The length of the cubic element to map to.

real(kind=rk), intent(inout) :: physPoints(nPoints,3)

The physical points. Dimensions are the same as refPoints.