Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Fortran 95 question about dimension error

  1. Jul 16, 2011 #1
    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)
  2. jcsd
  3. Jul 16, 2011 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    It's going to be hard to troubleshoot your program without a listing.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook