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

📄 potential3dg.f90

📁 Ground state of the time-independent Gross-Pitaevskii equation
💻 F90
字号:
real(kind(1.d0)) function potentialV(x,y,z)  !  ! User supplied potential  !  ! This function takes on input the coordinates x,y,z and returns the value  ! of the potential at this point   !  ! all values in atomic units  !  use system3Dg  implicit none  integer, parameter :: dp=kind(1.d0)    real(dp), intent(in) :: x,y,z  real(dp) :: wx2,wy2,wz2    wx2 = (1.36784d-14)**2  wy2 = wx2  wz2 = 8.d0*wx2    potentialV = 0.5d0*mass*(wx2*x**2 + wy2*y**2 + wz2*z**2)    returnend function potentialV

⌨️ 快捷键说明

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