Changes between Version 6 and Version 7 of MultiPhysics
- Timestamp:
- 01/28/13 14:19:50 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultiPhysics
v6 v7 114 114 IF (nDim == 2) THEN 115 115 !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)) 117 117 DO i=1, Info%mX(1)+1 118 118 x = Info%xBounds(1,1)+(REAL(i)-1d0)*dx(1) … … 133 133 ELSEIF (nDim == 3) THEN 134 134 !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)) 136 136 137 137 !We could do this with three separate loops to avoid calculating