78 integer,
intent(in) :: n, gdim
79 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
102 subroutine opcolv(a1, a2, a3, c, gdim, n)
103 integer,
intent(in) :: n, gdim
104 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
105 real(kind=
rp),
dimension(n),
intent(in) :: c
108 if (gdim .eq. 3)
then
128 subroutine opcolv3c(a1, a2, a3, b1, b2, b3, c, d, n, gdim)
129 integer,
intent(in) :: n, gdim
130 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
131 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
132 real(kind=
rp),
intent(in) :: c(n), d
135 if (gdim .eq. 3)
then
155 subroutine opadd2cm(a1, a2, a3, b1, b2, b3, c, n, gdim)
156 integer,
intent(in) :: n, gdim
157 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
158 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
159 real(kind=
rp),
intent(in) :: c
162 if (gdim .eq. 3)
then
165 a1(i) = a1(i) + b1(i)*c
166 a2(i) = a2(i) + b2(i)*c
167 a3(i) = a3(i) + b3(i)*c
173 a1(i) = a1(i) + b1(i)*c
174 a2(i) = a2(i) + b2(i)*c
182 subroutine opadd2col(a1, a2, a3, b1, b2, b3, c, n, gdim)
183 integer,
intent(in) :: n, gdim
184 real(kind=
rp),
dimension(n),
intent(inout) :: a1, a2, a3
185 real(kind=
rp),
dimension(n),
intent(in) :: b1, b2, b3
186 real(kind=
rp),
intent(in) :: c(n)
189 if (gdim .eq. 3)
then
192 a1(i) = a1(i) + b1(i)*c(i)
193 a2(i) = a2(i) + b2(i)*c(i)
194 a3(i) = a3(i) + b3(i)*c(i)
200 a1(i) = a1(i) + b1(i)*c(i)
201 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.