| 44 |
#include "SIZE.h" |
#include "SIZE.h" |
| 45 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
| 46 |
#include "PARAMS.h" |
#include "PARAMS.h" |
|
#include "GRID.h" |
|
| 47 |
#include "CG2D.h" |
#include "CG2D.h" |
| 48 |
#include "SURFACE.h" |
c#include "GRID.h" |
| 49 |
|
c#include "SURFACE.h" |
| 50 |
|
|
| 51 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
| 52 |
C === Routine arguments === |
C === Routine arguments === |
| 172 |
& +aW2d(I+1,J ,bi,bj)*cg2d_x(I+1,J ,bi,bj) |
& +aW2d(I+1,J ,bi,bj)*cg2d_x(I+1,J ,bi,bj) |
| 173 |
& +aS2d(I ,J ,bi,bj)*cg2d_x(I ,J-1,bi,bj) |
& +aS2d(I ,J ,bi,bj)*cg2d_x(I ,J-1,bi,bj) |
| 174 |
& +aS2d(I ,J+1,bi,bj)*cg2d_x(I ,J+1,bi,bj) |
& +aS2d(I ,J+1,bi,bj)*cg2d_x(I ,J+1,bi,bj) |
| 175 |
& -aW2d(I ,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
& +aC2d(I ,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
|
& -aW2d(I+1,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
|
|
& -aS2d(I ,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
|
|
& -aS2d(I ,J+1,bi,bj)*cg2d_x(I ,J ,bi,bj) |
|
|
& -freeSurfFac*_rA(i,j,bi,bj)*recip_Bo(i,j,bi,bj)* |
|
|
& cg2d_x(I ,J ,bi,bj)/deltaTMom/deltaTfreesurf*cg2dNorm |
|
| 176 |
& ) |
& ) |
| 177 |
errTile = errTile + |
c & -aW2d(I ,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
| 178 |
& cg2d_r(I,J,bi,bj)*cg2d_r(I,J,bi,bj) |
c & -aW2d(I+1,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
| 179 |
sumRHStile = sumRHStile + |
c & -aS2d(I ,J ,bi,bj)*cg2d_x(I ,J ,bi,bj) |
| 180 |
& cg2d_b(I,J,bi,bj) |
c & -aS2d(I ,J+1,bi,bj)*cg2d_x(I ,J ,bi,bj) |
| 181 |
|
c & -freeSurfFac*_rA(i,j,bi,bj)*deepFac2F(ks)*recip_Bo(i,j,bi,bj) |
| 182 |
|
c & *cg2d_x(I ,J ,bi,bj) |
| 183 |
|
c & /deltaTMom/deltaTfreesurf*cg2dNorm |
| 184 |
|
c & ) |
| 185 |
|
errTile = errTile + cg2d_r(I,J,bi,bj)*cg2d_r(I,J,bi,bj) |
| 186 |
|
sumRHStile = sumRHStile + cg2d_b(I,J,bi,bj) |
| 187 |
ENDDO |
ENDDO |
| 188 |
ENDDO |
ENDDO |
| 189 |
sumRHS = sumRHS + sumRHStile |
sumRHS = sumRHS + sumRHStile |
| 302 |
& +aW2d(I+1,J ,bi,bj)*cg2d_s(I+1,J ,bi,bj) |
& +aW2d(I+1,J ,bi,bj)*cg2d_s(I+1,J ,bi,bj) |
| 303 |
& +aS2d(I ,J ,bi,bj)*cg2d_s(I ,J-1,bi,bj) |
& +aS2d(I ,J ,bi,bj)*cg2d_s(I ,J-1,bi,bj) |
| 304 |
& +aS2d(I ,J+1,bi,bj)*cg2d_s(I ,J+1,bi,bj) |
& +aS2d(I ,J+1,bi,bj)*cg2d_s(I ,J+1,bi,bj) |
| 305 |
& -aW2d(I ,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
& +aC2d(I ,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
| 306 |
& -aW2d(I+1,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
c & -aW2d(I ,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
| 307 |
& -aS2d(I ,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
c & -aW2d(I+1,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
| 308 |
& -aS2d(I ,J+1,bi,bj)*cg2d_s(I ,J ,bi,bj) |
c & -aS2d(I ,J ,bi,bj)*cg2d_s(I ,J ,bi,bj) |
| 309 |
& -freeSurfFac*_rA(i,j,bi,bj)*recip_Bo(i,j,bi,bj)* |
c & -aS2d(I ,J+1,bi,bj)*cg2d_s(I ,J ,bi,bj) |
| 310 |
& cg2d_s(I ,J ,bi,bj)/deltaTMom/deltaTfreesurf*cg2dNorm |
c & -freeSurfFac*_rA(i,j,bi,bj)*deepFac2F(ks)*recip_Bo(i,j,bi,bj) |
| 311 |
|
c & *cg2d_s(I ,J ,bi,bj) |
| 312 |
|
c & /deltaTMom/deltaTfreesurf*cg2dNorm |
| 313 |
alphaTile = alphaTile+cg2d_s(I,J,bi,bj)*cg2d_q(I,J,bi,bj) |
alphaTile = alphaTile+cg2d_s(I,J,bi,bj)*cg2d_q(I,J,bi,bj) |
| 314 |
ENDDO |
ENDDO |
| 315 |
ENDDO |
ENDDO |