70 REAL(RFREAL),
INTENT(IN) :: nx,ny,nz,xc,yc,zc
71 REAL(RFREAL),
INTENT(INOUT) :: xcomp,ycomp,zcomp
77 CHARACTER(CHRLEN) :: rcsidentstring
84 rcsidentstring =
'$RCSfile: ReflectPosition.F90,v $ $Revision: 1.4 $'
90 term = 2.0_rfreal*((xcomp-xc)*nx + (ycomp-yc)*ny + (zcomp-zc)*nz)
92 xcomp = xcomp -
term*nx
93 ycomp = ycomp -
term*ny
94 zcomp = zcomp -
term*nz
subroutine reflectposition(nx, ny, nz, xc, yc, zc, xComp, yComp, zComp)