76 integer,
intent(in) :: n, gdim
77 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
100 subroutine opcolv(a1, a2, a3, c, gdim, n)
101 integer,
intent(in) :: n, gdim
102 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
103 real(kind=
rp),
dimension(n),
intent(in) :: c
106 if (gdim .eq. 3)
then
126 subroutine opcolv3c(a1, a2, a3, b1, b2, b3, c, d, n, gdim)
127 integer,
intent(in) :: n, gdim
128 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
129 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
130 real(kind=
rp),
intent(in) :: c(n), d
133 if (gdim .eq. 3)
then
153 subroutine opadd2cm(a1, a2, a3, b1, b2, b3, c, n, gdim)
154 integer,
intent(in) :: n, gdim
155 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
156 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
157 real(kind=
rp),
intent(in) :: c
160 if (gdim .eq. 3)
then
163 a1(i) = a1(i) + b1(i)*c
164 a2(i) = a2(i) + b2(i)*c
165 a3(i) = a3(i) + b3(i)*c
171 a1(i) = a1(i) + b1(i)*c
172 a2(i) = a2(i) + b2(i)*c
180 subroutine opadd2col(a1, a2, a3, b1, b2, b3, c, n, gdim)
181 integer,
intent(in) :: n, gdim
182 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
183 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
184 real(kind=
rp),
intent(in) :: c(n)
187 if (gdim .eq. 3)
then
190 a1(i) = a1(i) + b1(i)*c(i)
191 a2(i) = a2(i) + b2(i)*c(i)
192 a3(i) = a3(i) + b3(i)*c(i)
198 a1(i) = a1(i) + b1(i)*c(i)
199 a2(i) = a2(i) + b2(i)*c(i)
Collection of vector field operations operating on and . Note that in general the indices and ....
subroutine, public opcolv(a1, a2, a3, c, gdim, n)
subroutine, public opadd2col(a1, a2, a3, b1, b2, b3, c, n, gdim)
subroutine, public opchsign(a1, a2, a3, gdim, n)
for and .
subroutine, public opadd2cm(a1, a2, a3, b1, b2, b3, c, n, gdim)
subroutine, public opcolv3c(a1, a2, a3, b1, b2, b3, c, d, n, gdim)
integer, parameter, public rp
Global precision used in computations.