| 1 | 
#include "CPP_OPTIONS.h" | 
| 2 | 
 | 
| 3 | 
      subroutine smooth_print2D ( | 
| 4 | 
     U     iloop,fld_in,mythid) | 
| 5 | 
 | 
| 6 | 
 | 
| 7 | 
      IMPLICIT NONE | 
| 8 | 
#include "SIZE.h" | 
| 9 | 
#include "EEPARAMS.h" | 
| 10 | 
#include "GRID.h" | 
| 11 | 
#include "PARAMS.h" | 
| 12 | 
c#include "tamc.h" | 
| 13 | 
#include "smooth.h" | 
| 14 | 
 | 
| 15 | 
 | 
| 16 | 
      _RL fld_in(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) | 
| 17 | 
      integer smoothOpNb | 
| 18 | 
      integer nbt_in,iloop | 
| 19 | 
      character*( 80) fnamegeneric | 
| 20 | 
      integer i,j,k,bi,bj | 
| 21 | 
      integer itlo,ithi | 
| 22 | 
      integer jtlo,jthi | 
| 23 | 
      integer myThid | 
| 24 | 
 | 
| 25 | 
      jtlo = mybylo(mythid) | 
| 26 | 
      jthi = mybyhi(mythid) | 
| 27 | 
      itlo = mybxlo(mythid) | 
| 28 | 
      ithi = mybxhi(mythid) | 
| 29 | 
 | 
| 30 | 
      DO bj=jtlo,jthi | 
| 31 | 
       DO bi=itlo,ithi | 
| 32 | 
      WRITE(standardMessageUnit,'(A,I4,/,3f5.2)') | 
| 33 | 
     & 'smooth_print2D, test: ',iloop, | 
| 34 | 
     & fld_in(1,1,bi,bj), fld_in(2,2,bi,bj),fld_in(1,3,bi,bj) | 
| 35 | 
       ENDDO | 
| 36 | 
      ENDDO | 
| 37 | 
 | 
| 38 | 
      end |