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

📄 potential1dg.f90

📁 Ground state of the time-independent Gross-Pitaevskii equation
💻 F90
字号:
real(kind(1.d0)) function potentialV(z)  !  ! User supplied potential  !  ! This function takes on input the coordinate z and returns the value  ! of the potential at this point   !  ! all values in atomic units  !  use system1Dg  implicit none  integer, parameter :: dp=kind(1.d0)    real(dp), intent(in) :: z  real(dp), parameter :: wz = 1.d-13  ! harmonic potential  potentialV = 0.5d0*mass*(wz**2*z**2)  ! extra quartic component  potentialV = potentialV + 2.d0*mass**2*wz**3*z**4  returnend function potentialV

⌨️ 快捷键说明

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