早教吧作业答案频道 -->其他-->
Fortran编译,max函数出问题,Thisnamedoesnothaveatype,andmusthaveanexplicittype.[MAX]错误2error#6404:Thisnamedoesnothaveatype,andmusthaveanexplicittype.[MAX]相关代码如下:DoubleprecisionPhiXM(-md:Nx+md,-md:Ny+md
题目详情
Fortran编译,max函数出问题,This name does not have a type,and must have an explicit type.[MAX]
错误 2 error #6404:This name does not have a type,and must have an explicit type.[MAX]
相关代码如下:
Doubleprecision PhiXM(-md:Nx+md,-md:Ny+md)
Doubleprecision MaxPhiXM
Do ix = 0 ,Nx
Do iy = 0,Ny
MaxPhiXM = Max(Abs(PhiXM(ix-3:ix+3,iy)))
End Do
End Do
错误 2 error #6404:This name does not have a type,and must have an explicit type.[MAX]
相关代码如下:
Doubleprecision PhiXM(-md:Nx+md,-md:Ny+md)
Doubleprecision MaxPhiXM
Do ix = 0 ,Nx
Do iy = 0,Ny
MaxPhiXM = Max(Abs(PhiXM(ix-3:ix+3,iy)))
End Do
End Do
▼优质解答
答案和解析
s name does not have a type,and must have an explicit typ
看了Fortran编译,max函数...的网友还看了以下:
某主族元素R原子的质量数为79,已知R离子含有45个中子和36个电子,下列有关R的叙述错误的是()A 2020-03-31 …
在圆的周长公式C=2πr中,下列说法错误的是()A.C,π,r是变量,2是常量B.C,r是变量,2 2020-04-12 …
圆的周长公式C=2πR中,下列说法错误的是()A.C、π、R是变量,2是常量B.C、R是变量,2π 2020-04-12 …
闭合电路中,错误的是:A.U内=Ir B.U外=Ir C.U外=ER/(R+r) D.U内=Er闭 2020-05-16 …
下列各项中注音有误的一项是()A.shāo艄公讥诮qiào茕茕孑立qióngB.rù被褥繁文缛节r 2020-07-23 …
下列各项中注音有误的一项是A.shāo艄公讥诮qiào茕茕孑立qióngB.rù被褥繁文缛节rù妊 2020-07-23 …
半偏法测电表电阻时电源电压大好小好似乎是电源小一些误差小△I=E/R-E/(R+K)=EK/R*(R 2020-11-04 …
Fortran编译,max函数出问题,Thisnamedoesnothaveatype,andmus 2020-11-23 …
已知p,q,r是两两不共线的非零向量,且p+q与r共线,q+r与p共线,以下结论错误的是A.p+r与 2020-12-07 …
如果电流表的内阻R=0.03欧,电压表的内阻R=2.0千欧,要测量的电阻R大约为1.5千欧,采用电流 2021-01-22 …