67 REAL(RFREAL),
INTENT(IN) :: nx,ny,nz
68 REAL(RFREAL),
INTENT(INOUT) :: xcomp,ycomp,zcomp
74 CHARACTER(CHRLEN) :: rcsidentstring
81 rcsidentstring =
'$RCSfile: ReflectVector.F90,v $ $Revision: 1.5 $'
87 term = 2.0_rfreal*(xcomp*nx + ycomp*ny + zcomp*nz)
89 xcomp = xcomp -
term*nx
90 ycomp = ycomp -
term*ny
91 zcomp = zcomp -
term*nz
subroutine reflectvector(nx, ny, nz, xComp, yComp, zComp)