| 查看: 1635 | 回复: 1 | ||
[求助]
fortran floor函数求助
|
|
function dmudx(iu,iv,ip,ix,iy) integer :: iu, iv, ip, ix, iy, i, j real(8) :: dmudx real(8) :: thermo_dx=0.001 i = floor(xp(1,ip,ix,iy)/thermo_dx+0.5d0)+1 j = floor(xp(2,ip,ix,iy)/thermo_dx+0.5d0)+1 Remark: real(8):: xp=(1:2,1:2,0:201,0:201) 运行程序的时候总是出现:appears'run-time error M6201:MATH- floor: DOMAIN error' 请教高手帮忙指点啊,我菜鸟一个,比较着急,谢谢! [ Last edited by jjdg on 2012-8-25 at 00:29 ] |
» 猜你喜欢
这种情况还有戏吗
已经有11人回复
微信指数没变化,科研之友没阅读
已经有4人回复
同事接到电话了,我却没有
已经有4人回复
准备明年的基金了
已经有5人回复
今年的WR进展到哪一步了?
已经有6人回复
时间戳他又来了
已经有11人回复
小木虫看见有人已经知道结果了
已经有15人回复
这个自发加氧反应的机理是什么?
已经有6人回复
J-J-W不为人知的一面
已经有18人回复
没消息就是被刷了呗
已经有13人回复
» 本主题相关价值贴推荐,对您同样有帮助:
FORTRAN新手 求助主程序循环问题
已经有10人回复
求助Fortran编程
已经有8人回复
【求助】fortran编程问题
已经有3人回复
【交流】合流超比函数的 fortran程序(自己搞定了,不过也希望你来交流)
已经有7人回复
【求助】用fortran怎么描述下面这样的情况,我是新手,请大家帮忙
已经有8人回复
【求助】初学fortran,
已经有15人回复
【答案】应助回帖
★
感谢参与,应助指数 +1
xzhdty: 金币+1, 谢谢jjdg版主 2012-08-26 21:14:46
感谢参与,应助指数 +1
xzhdty: 金币+1, 谢谢jjdg版主 2012-08-26 21:14:46
|
An argument to the given function was outside the domain of legal input values for that function. For example, the following statements generate this error: result = sqrt(-1.0) // C statement result = SQRT(-1.0) ! FORTRAN statement In your case, the 'function' is 'exp'. I do not know what the acceptable 'domain' is for the IA32 Fortran function 'exp', but in MS Visual Basic, If the value of number in exp(number) exceeds 709.782712893, an error occurs. 以下页面有详细解释: http://software.intel.com/en-us/forums/showthread.php?t=59099 |

2楼2012-08-25 00:31:29











回复此楼