⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 erfc.f90

📁 巨正则系综蒙特卡罗算法的源程序;可以用来进行吸附等分子模拟;最大的好处在于可以插入或删除原子
💻 F90
字号:

	  	  real function erfc(x) 	  ! # MS Fortran	  ! Complementary error function from Numerical Recipes.
	  implicit none
      real				:: x      real				:: t,z

      z = abs(x)      t = 1.0 / ( 1.0 + 0.5 * z )      erfc =          t * exp( -z * z - 1.26551223 + t *	    &	         ( 1.00002368 + t * ( 0.37409196 + t *		&             ( 0.09678418 + t * (-0.18628806 + t *		&			 ( 0.27886807 + t * (-1.13520398 + t *		&             ( 1.48851587 + t * (-0.82215223 + t * 0.17087277 )))))))))      if ( x.lt.0.0 ) erfc = 2.0 - erfc     	  end function erfc     

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -