Changeset 934 for XIOS/trunk/src/test/test_unstruct_complete.f90
- Timestamp:
- 09/22/16 10:58:44 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/test/test_unstruct_complete.f90
r666 r934 30 30 INTEGER,ALLOCATABLE :: i_index(:) 31 31 LOGICAL,ALLOCATABLE :: mask_glo(:),mask(:) 32 INTEGER,ALLOCATABLE :: n_local(:),local_neighbor(:,:) 32 33 DOUBLE PRECISION,ALLOCATABLE :: lon(:),lat(:),field_A_srf(:,:), lonvalue(:) ; 33 34 DOUBLE PRECISION,ALLOCATABLE :: bounds_lon(:,:),bounds_lat(:,:) ; 34 35 INTEGER :: ni,ibegin,iend,nj,jbegin,jend 35 INTEGER :: i,j,l,ts,n 36 INTEGER :: i,j,l,ts,n, nbMax 36 37 INTEGER :: ncell_glo,ncell,ind 37 38 REAL :: ilon,ilat … … 164 165 ALLOCATE(field_A_srf(ncell,llm)) 165 166 ALLOCATE(mask(ncell)) 167 ALLOCATE(n_local(ncell)) 166 168 ncell=0 167 169 data_n_index=0 … … 205 207 CALL xios_set_domain_attr("domain_srf", lonvalue_1D=lon, latvalue_1D=lat) 206 208 CALL xios_set_domain_attr("domain_srf", nvertex=4, bounds_lon_1D=bounds_lon, bounds_lat_1D=bounds_lat) 209 ! CALL xios_set_compute_connectivity_domain_attr("compute", n_neighbor=n_local, local_neighbor=local_neighbor) 207 210 208 211 … … 211 214 CALL xios_set_timestep(dtime) 212 215 CALL xios_close_context_definition() 216 217 CALL xios_get_compute_connectivity_domain_attr("compute", n_neighbor_max=nbMax) 218 ALLOCATE(local_neighbor(nbMax,ncell)) 219 CALL xios_get_compute_connectivity_domain_attr("compute", n_neighbor=n_local, local_neighbor=local_neighbor) 213 220 214 221 DO ts=1,24*10
Note: See TracChangeset
for help on using the changeset viewer.