SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
LIB
XRD44
support
gather.F
Go to the documentation of this file.
1
SUBROUTINE
gather
(N,A,B,IND)
2
!
3
USE
parkind1
, ONLY
:
jpim
,
jprb
4
!
5
IMPLICIT NONE
6
!
7
INTEGER(KIND=JPIM)
:: N
8
INTEGER(KIND=JPIM)
:: IND(n)
9
INTEGER(KIND=JPIM)
:: I
10
REAL(KIND=JPRB)
:: A(n)
11
REAL(KIND=JPRB)
:: B(*)
12
!
13
! GATHER - Gathers a vector from a source vector
14
!
15
DO
100 i=1,n
16
a(i)=b(ind(i))
17
100
CONTINUE
18
!
19
ENDSUBROUTINE
gather
parkind1::jpim
integer, parameter jpim
Definition:
parkind1.F90:13
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
parkind1
Definition:
parkind1.F90:1
gather
subroutine gather(N, A, B, IND)
Definition:
gather.F:2
Generated on Tue Jan 16 2018 16:23:22 for SURFEX v8.1 by
1.8.13