53 REAL(RFREAL),
POINTER :: vect(:,:)
58 CHARACTER(CHRLEN) :: rcsidentstring
62 REAL(RFREAL) :: anglex, angley, anglez, cx, cy, cz, sx, sy, sz,
x,
y,
z
66 rcsidentstring =
'$RCSfile: ScaleRotateVector.F90,v $ $Revision: 1.3 $'
68 IF ( global%verbLevel > verbose_none )
THEN
69 WRITE(stdout,
'(A,1X,A)') solver_name,
'Scaling and rotating vector...'
70 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'X-scale:',global%scaleX
71 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'Y-scale:',global%scaleY
72 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'Z-scale:',global%scaleZ
73 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'X-angle:',global%angleX
74 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'Y-angle:',global%angleY
75 WRITE(stdout,
'(A,3X,A,1X,E15.6)') solver_name,
'Z-angle:',global%angleZ
78 ncomp =
SIZE(vect,dim=2)
83 vect(1,
ic) = global%scaleX*vect(1,
ic)
84 vect(2,
ic) = global%scaleY*vect(2,
ic)
85 vect(3,
ic) = global%scaleZ*vect(3,
ic)
90 anglex = global%angleX*global%rad
91 angley = global%angleY*global%rad
92 anglez = global%angleZ*global%rad
106 vect(1,
ic) = cy*cz*
x - (sx*sy*cz + cx*sz)*
y - (cx*sy*cz - sx*sz)*
z
107 vect(2,
ic) = cy*sz*
x - (sx*sy*sz - cx*cz)*
y - (cx*sy*sz + sx*cz)*
z
108 vect(3,
ic) = sy*
x + ( sx*cy)*
y + ( cx*cy)*
z
111 IF ( global%verbLevel > verbose_none )
THEN
112 WRITE(stdout,
'(A,1X,A)') solver_name,
'Scaling and rotating vector done.'
void int int REAL REAL * y
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ic
subroutine scalerotatevector(global, vect)
void int int int REAL REAL REAL * z