主题:fortran编程出错,请教
不清楚这些错误的汉语意思:
1.Error: Syntax error, found IDENTIFIER 'MX' when expecting one of: ( : % . = =>
do mx=1:(m-2)*n+1:2*n
2.Error: The shapes of the array expressions do not conform. [D]
d=reshape((/0.0,0.0,0.0,0.0, 0.0,t*exp(i*(pi/m+2*pi/3*(3*ny/2+1/4))),0.0,0.0, 0.0,0.0,0.0,t*exp(i*(pi/m+2*pi/3*(3*(ny+1)/2+1/4))), 0.0,0.0,0.0,0.0/),(/4,4/))
3.Error: The syntax of this substring is invalid. [H]
h(x:x+2*n-1,x:x+2*n-1)=h0
1.Error: Syntax error, found IDENTIFIER 'MX' when expecting one of: ( : % . = =>
do mx=1:(m-2)*n+1:2*n
2.Error: The shapes of the array expressions do not conform. [D]
d=reshape((/0.0,0.0,0.0,0.0, 0.0,t*exp(i*(pi/m+2*pi/3*(3*ny/2+1/4))),0.0,0.0, 0.0,0.0,0.0,t*exp(i*(pi/m+2*pi/3*(3*(ny+1)/2+1/4))), 0.0,0.0,0.0,0.0/),(/4,4/))
3.Error: The syntax of this substring is invalid. [H]
h(x:x+2*n-1,x:x+2*n-1)=h0