| 查看: 1602 | 回复: 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 ] |
» 猜你喜欢
护理论文 晋升
已经有4人回复
西南大学考核制博士
已经有5人回复
求碳排放博导;方向是LCA、生命周期可持续发展以及碳排放
已经有8人回复
评审感受-评审感受-评审感受
已经有11人回复
26年申博自荐-计算机视觉
已经有5人回复
窗边初夏的小雨
已经有9人回复
导师各种操作恶心咋办
已经有12人回复
现在不知道怎么办,感觉很痛苦
已经有5人回复
生物学博士
已经有6人回复
2026年申博-电池方向
已经有11人回复
» 本主题相关价值贴推荐,对您同样有帮助:
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












回复此楼