亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? realmolecule.f90

?? 蒙特卡羅的一個(gè)程序分析 與大家分享 共同研究
?? F90
字號(hào):

subroutine RealMolecule( Nc, Xc, Yc, Zc, TYPEc, DAMPc, &
						 Np, Xp, Yp, Zp, TYPEp, DAMPp, &
						 Nham, Niongrs, CHARGE, BoxSize, Alpha, ENERGY )

implicit none

! This routine calculates the real Ewald sum energy of Nc ionic beads 
! interacting with Np ionic beads.

! Nc is the number of ionic beads in one group.
! TYPEc contains the group identity of the Nc beads.
! Xc, Yc, Zc are the coordinates of the Nc beads.

integer, intent(in)							:: Nc
integer, dimension(Nc), intent(in)			:: TYPEc
real, dimension(Nc), intent(in)				:: Xc, Yc, Zc
real, dimension(Nc), intent(in)				:: DAMPc

! Np is the number of ionic beads in another group.
! TYPEp contains the group identity of the Np beads.
! Xp, Yp, Zp are the coordinates of the Np beads.
									
integer, intent(in)							:: Np
integer, dimension(Np), intent(in)			:: TYPEp
real, dimension(Np), intent(in)				:: Xp, Yp, Zp
real, dimension(Np), intent(in)				:: DAMPp

! Nham is the number of hamiltonians.
! Niongrs is the number of ionic groups in the system.
! CHARGE is a rank 2 array containing the charge of group i for each hamiltonian.
									
integer, intent(in)							:: Nham
integer, intent(in)							:: Niongrs
real, dimension(Niongrs, Nham), intent(in)	:: CHARGE

! BoxSize is the length of the simulation box.

real, intent(in)							:: BoxSize

! Alpha is an Ewald sum parameter, Alpha = kappa * L, for kappa in A + T.

real, intent(in)							:: Alpha

! erfc is the complementary error function.

real, external								:: erfc

! ENERGY contains the energy of interaction between group c
! and group p for each hamiltonian.

real, dimension(Nham), intent(out)			:: ENERGY

! Local variables

integer										:: i, j, h
integer										:: typeci, typepj
real										:: xij, yij, zij
real										:: xi, yi, zi
real										:: rij
real										:: dampci, damppj
real										:: tmp


ENERGY = 0.0

do i = 1, Nc

	xi = Xc(i)
	yi = Yc(i)
	zi = Zc(i)

	typeci = TYPEc(i)

	dampci = DAMPc(i)

	do j = 1, Np

		typepj = TYPEp(j) 

		damppj = DAMPp(j) 
		
		xij = abs( Xp(j) - xi )
		yij = abs( Yp(j) - yi )
		zij = abs( Zp(j) - zi )

		if( xij > BoxSize - xij ) xij = xij - BoxSize
		if( yij > BoxSize - yij ) yij = yij - BoxSize
		if( zij > BoxSize - zij ) zij = zij - BoxSize

		rij = sqrt(xij*xij + yij*yij + zij*zij)

		tmp = erfc( Alpha * rij / BoxSize ) / rij

		do h = 1, Nham

			ENERGY(h) = ENERGY(h) + dampci * damppj * &
						CHARGE( typeci, h ) * CHARGE( typepj, h ) * tmp

		end do

	end do

end do

return

end	subroutine RealMolecule

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

subroutine RealMolecule2( Nc, Xc, Yc, Zc, TYPEc, DAMPc_1, DAMPc_2, &
						  Np, Xp, Yp, Zp, TYPEp, DAMPp_1, DAMPp_2, &
						  Nham, Niongrs, CHARGE, BoxSize, Alpha, dENERGY )

implicit none

! This routine calculates the real Ewald sum energy of Nc ionic beads 
! interacting with Np ionic beads.

! Nc is the number of ionic beads in one group.
! TYPEc contains the group identity of the Nc beads.
! Xc, Yc, Zc are the coordinates of the Nc beads.

integer, intent(in)							:: Nc
integer, dimension(Nc), intent(in)			:: TYPEc
real, dimension(Nc), intent(in)				:: Xc, Yc, Zc
real, dimension(Nc), intent(in)				:: DAMPc_1,	DAMPc_2

! Np is the number of ionic beads in another group.
! TYPEp contains the group identity of the Np beads.
! Xp, Yp, Zp are the coordinates of the Np beads.
									
integer, intent(in)							:: Np
integer, dimension(Np), intent(in)			:: TYPEp
real, dimension(Np), intent(in)				:: Xp, Yp, Zp
real, dimension(Np), intent(in)				:: DAMPp_1,	DAMPp_2

! Nham is the number of hamiltonians.
! Niongrs is the number of ionic groups in the system.
! CHARGE is a rank 2 array containing the charge of group i for each hamiltonian.
									
integer, intent(in)							:: Nham
integer, intent(in)							:: Niongrs
real, dimension(Niongrs, Nham), intent(in)	:: CHARGE

! BoxSize is the length of the simulation box.

real, intent(in)							:: BoxSize

! Alpha is an Ewald sum parameter, Alpha = kappa * L, for kappa in A + T.

real, intent(in)							:: Alpha

! erfc is the complementary error function.

real, external								:: erfc

! ENERGY contains the energy of interaction between group c
! and group p for each hamiltonian.

real, dimension(Nham), intent(out)			:: dENERGY

! Local variables

integer										:: i, j, h
integer										:: typeci, typepj
real										:: xij, yij, zij
real										:: xi, yi, zi
real										:: rij
real										:: dampci_1, damppj_1
real										:: dampci_2, damppj_2
real										:: tmp1, tmp2

real, dimension(Nham)						:: ENERGY_1, ENERGY_2


ENERGY_1 = 0.0
ENERGY_2 = 0.0

do i = 1, Nc

	xi = Xc(i)
	yi = Yc(i)
	zi = Zc(i)

	typeci = TYPEc(i)

	dampci_1 = DAMPc_1(i)
	dampci_2 = DAMPc_2(i)

	do j = 1, Np

		typepj = TYPEp(j) 

		damppj_1 = DAMPp_1(j) 
		damppj_2 = DAMPp_2(j) 
		
		xij = abs( Xp(j) - xi )
		yij = abs( Yp(j) - yi )
		zij = abs( Zp(j) - zi )

		if( xij > BoxSize - xij ) xij = xij - BoxSize
		if( yij > BoxSize - yij ) yij = yij - BoxSize
		if( zij > BoxSize - zij ) zij = zij - BoxSize

		rij = sqrt(xij*xij + yij*yij + zij*zij)

		tmp1 = erfc( Alpha * rij / BoxSize ) / rij
			  
		do h = 1, Nham

			tmp2 = CHARGE( typeci, h ) * CHARGE( typepj, h ) * tmp1

			ENERGY_1(h) = ENERGY_1(h) + tmp2 * dampci_1 * damppj_1

			ENERGY_2(h) = ENERGY_2(h) + tmp2 * dampci_2 * damppj_2

		end do

	end do

end do

dENERGY = ENERGY_2 - ENERGY_1

return

end	subroutine RealMolecule2






?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合成人网| 国产精品一级黄| 免费日韩伦理电影| 粉嫩绯色av一区二区在线观看| 日韩福利电影在线观看| 一区二区三区欧美日韩| 亚洲天堂av老司机| 视频一区二区国产| 国产盗摄精品一区二区三区在线| 亚洲电影一级片| 国产一区二区三区综合| 在线观看日韩一区| 中文字幕欧美三区| 奇米在线7777在线精品| 日韩成人午夜精品| 91久久精品一区二区| 久久精品视频一区二区| 亚洲444eee在线观看| av在线不卡免费看| 6080午夜不卡| 亚洲高清三级视频| 色综合久久中文字幕| 久久新电视剧免费观看| 日韩精品91亚洲二区在线观看 | 国产精品伦一区| 偷拍日韩校园综合在线| 99久久久久久| 精品久久人人做人人爽| 日韩精品成人一区二区在线| 色老汉av一区二区三区| 欧美激情综合在线| 精品在线观看免费| 欧美午夜视频网站| 亚洲精品美国一| 成人黄色国产精品网站大全在线免费观看| 91麻豆精品国产自产在线| 久久久不卡网国产精品一区| 久久不见久久见中文字幕免费| 欧美精品色一区二区三区| 亚洲精品免费在线| 波多野洁衣一区| 欧美成人福利视频| 麻豆精品新av中文字幕| 欧美视频一区在线观看| 香蕉久久夜色精品国产使用方法| 欧美亚洲一区二区在线观看| 亚洲欧美日韩成人高清在线一区| 成人不卡免费av| 欧美国产日产图区| 色欧美片视频在线观看| 亚洲高清视频中文字幕| 欧美日韩一区二区三区四区五区| 一二三区精品视频| 色综合天天综合色综合av| 亚洲成av人片观看| 在线播放国产精品二区一二区四区| 一区二区高清视频在线观看| 91视频免费观看| 中文字幕中文字幕一区| 91在线视频播放地址| 亚洲免费观看在线观看| 欧美在线色视频| 丝袜美腿高跟呻吟高潮一区| www.日韩精品| 欧美国产精品一区二区| 欧美色网一区二区| 韩国v欧美v日本v亚洲v| 亚洲欧美视频在线观看视频| 日韩一级片在线观看| 99精品国产热久久91蜜凸| 日本成人在线电影网| 国产精品久线在线观看| 欧美一区二区免费观在线| 成人黄色av电影| 麻豆精品一二三| 亚洲自拍偷拍网站| 久久精品视频网| 欧美另类变人与禽xxxxx| 成人av先锋影音| 久久er精品视频| 亚洲成人自拍一区| 国产精品电影一区二区| 欧美成人午夜电影| 欧美日韩亚洲综合一区二区三区| 丁香桃色午夜亚洲一区二区三区 | 日韩欧美综合一区| 91在线视频观看| 国产麻豆一精品一av一免费 | 一区二区三区中文字幕精品精品 | 亚洲国产成人精品视频| 国产精品美女久久久久久2018| 欧美一区二区久久久| 日韩美女一区二区三区| 久久综合给合久久狠狠狠97色69| 91免费观看在线| 国产精品一区二区视频| 五月综合激情日本mⅴ| 亚洲女子a中天字幕| 国产人妖乱国产精品人妖| 日韩视频免费观看高清完整版在线观看 | 国产欧美在线观看一区| 88在线观看91蜜桃国自产| 97久久精品人人做人人爽| 国产高清精品网站| 国产伦精品一区二区三区在线观看| 亚洲国产日韩在线一区模特| 亚洲欧美日韩一区二区三区在线观看| 久久婷婷色综合| 久久久久国产免费免费| 精品国产免费人成电影在线观看四季| 欧美一区二区三区人| 911国产精品| 日韩免费看网站| 欧美一级国产精品| 日韩精品综合一本久道在线视频| 欧美一区二区三区在线观看| 欧美放荡的少妇| 欧美一区二区三区色| 精品久久久久久久久久久久久久久 | 亚洲精品亚洲人成人网| 17c精品麻豆一区二区免费| 综合av第一页| 亚洲国产毛片aaaaa无费看| 亚洲一二三四区| 日本视频一区二区三区| 久久国产生活片100| 韩国三级电影一区二区| 福利一区在线观看| 95精品视频在线| 欧洲一区二区av| 3d成人h动漫网站入口| 精品国产免费人成在线观看| 日本一区二区三区免费乱视频| 国产精品久久久99| 一级女性全黄久久生活片免费| 婷婷中文字幕综合| 激情欧美一区二区| 91一区二区在线观看| 欧美猛男gaygay网站| 欧美电影免费观看高清完整版在线观看| 精品欧美一区二区三区精品久久| 2023国产精品自拍| 亚洲欧洲美洲综合色网| 亚洲国产毛片aaaaa无费看| 麻豆精品蜜桃视频网站| 高清beeg欧美| 欧美日本精品一区二区三区| 久久久久久久久久久久久女国产乱| 国产精品三级电影| 午夜久久电影网| 国产精品一区二区三区四区| 色婷婷综合五月| 337p日本欧洲亚洲大胆精品| 亚洲视频 欧洲视频| 免费在线观看视频一区| a4yy欧美一区二区三区| 在线国产亚洲欧美| 欧美日韩激情一区二区三区| 久久伊人中文字幕| 亚洲一区二区中文在线| 国产久卡久卡久卡久卡视频精品| 91免费版pro下载短视频| 日韩欧美中文一区| 中文字幕色av一区二区三区| 蜜臀精品一区二区三区在线观看| 99久久精品国产毛片| 精品国产免费人成在线观看| 亚洲综合激情网| 国产成人av电影在线| 777精品伊人久久久久大香线蕉| 国产欧美精品日韩区二区麻豆天美| 丝袜亚洲精品中文字幕一区| 99re66热这里只有精品3直播| 欧美精品一区二区高清在线观看| 亚洲一区二区三区在线看| 粉嫩久久99精品久久久久久夜| 欧美一区二区视频网站| 亚洲人成7777| av不卡一区二区三区| 精品成人a区在线观看| 亚洲成av人**亚洲成av**| 色综合久久久久综合| 国产欧美va欧美不卡在线| 久久精品国产精品亚洲综合| 欧美日韩一卡二卡三卡 | 亚洲三级免费电影| 国产精品亚洲成人| 日韩视频在线永久播放| 亚洲午夜视频在线| 欧美午夜一区二区三区 | 欧美日韩免费不卡视频一区二区三区| 国产精品私人影院| 成人免费视频国产在线观看| 久久久午夜电影| 国产精品456| 久久蜜桃一区二区| 国产一区二区三区综合| 精品久久久久久久人人人人传媒| 老司机精品视频在线| 日韩精品一区二区三区视频播放|