store coarse perimeter worth of solution into 1d array.
6 implicit double precision (a-h, o-z)
8 dimension qc(nvar,nrow,ncol)
9 dimension qc1d(nvar,lenbc)
10 dimension auxc(naux,nrow,ncol)
11 dimension auxc1d(naux,lenbc)
14 c go around fine grid in following order
21 c
save first interior cell of enlarged grid corresponding to
22 c fine grid bordering cell. note that since fine grid is smaller,
23 c the cell is one in. coarse(temporary) grid has no ghost cells
30 5 qc1d(ivar,index) = qc(ivar,1,j)
32 6 auxc1d(iaux,index) = auxc(iaux,1,j)
39 15 qc1d(ivar,index) = qc(ivar,i,ncol)
41 16 auxc1d(iaux,index) = auxc(iaux,i,ncol)
48 25 qc1d(ivar,index) = qc(ivar,nrow,j)
50 26 auxc1d(iaux,index) = auxc(iaux,nrow,j)
57 35 qc1d(ivar,index) = qc(ivar,i,1)
59 36 auxc1d(iaux,index) = auxc(iaux,i,1)