Research Article

An Efficient Compact Finite Difference Method for the Solution of the Gross-Pitaevskii Equation

Table 1

Error, order of accuracy, and CPU time with CFDM-AIF2 and RK2 scheme for Example 1.

× × CFDM-AIF2, RK2,
errorOrderCPU (s) errorOrderCPU (s)

× × 5.50 × 10−50.056.95 × 10−30.09
32 × 32 × 323.59 × 10−63.940.431.74 × 10−32.002.06
64 × 64 × 642.65 × 10−73.765.934.36 × 10−42.0061.9
128 × 128 × 1282.69 × 10−83.301271.09 × 10−42.002448