Changes between Version 6 and Version 7 of MultiPhysics


Ignore:
Timestamp:
01/28/13 14:19:50 (12 years ago)
Author:
Baowei Liu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • MultiPhysics

    v6 v7  
    114114IF (nDim == 2) THEN
    115115  !In 2D the only component of the vector potential that matters is Az
    116   ALLOCATE(A(1:Info%mX(1)+1,1:Info%mX(2)+1,1,1)
     116  ALLOCATE(A(1:Info%mX(1)+1,1:Info%mX(2)+1,1,1))
    117117  DO i=1, Info%mX(1)+1
    118118    x = Info%xBounds(1,1)+(REAL(i)-1d0)*dx(1)
     
    133133ELSEIF (nDim == 3) THEN
    134134  !Now the vector potential is a 3 component vector
    135   ALLOCATE(A(1:Info%mX(1)+1,1:Info%mX(2)+1,1:Info%mX(3)+1,3)
     135  ALLOCATE(A(1:Info%mX(1)+1,1:Info%mX(2)+1,1:Info%mX(3)+1,3))
    136136
    137137  !We could do this with three separate loops to avoid calculating