potential1ds.f90

来自「Ground state of the time-independent Gro」· F90 代码 · 共 20 行

F90
20
字号
real(kind(1.d0)) function potentialV0(z)  !  ! User supplied additional potential  !  ! This function takes on input the coordinates z and returns the value  ! of the potential at this point *** exclusive of the harmonic trap ***  !  implicit none  integer, parameter :: dp=kind(1.d0)    real(dp), intent(in) :: z    real(dp), parameter :: gamma = 2.d0  ! quartic potential  potentialV0 = gamma*z**4   returnend function potentialV0

⌨️ 快捷键说明

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