| 查看: 1627 | 回复: 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 ] |
» 猜你喜欢
Suzuki偶联中硼酸酯原料掉下的硼酸酯是否可以自身偶联,生成B2Pin2杂质
已经有3人回复
2026年面上项目中了,2A+B, 会评顺利通过
已经有11人回复
大龄残疾硕士的一点执念
已经有19人回复
今年E04面上
已经有19人回复
刑法学论文投稿求助
已经有5人回复
Journal of Environmental Chemical Engineering
已经有3人回复
最后一年,祈求好运
已经有3人回复
风电环氧领域
已经有3人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有4人回复
植酸TLC薄层色谱爬板
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
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











回复此楼