Fortran 95 question about dimension error

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
loukoumas
Messages
14
Reaction score
0
error 542, J appears in the dimension of a variable,yet is not a dummy argument,a variable available through USE or CONTAINS association,a COMMON variable,a PARAMETER,or a PURE FUNCTION
the same error about I
i am using i,j in order to point the temperature in length and time T(i,j)
it is a numerical solution for the heat diffusion equation that uses the previous and the next value according to length of temperature and the previous value of temperature according to time( Crank-Nicolson method)
 
Physics news on Phys.org