Research Article

Fast and Accurate Numerical Solution of Allen–Cahn Equation

Table 5

Runtime result in 3D (sec).

IterationsInitial value
SphereDumbbellStarTorusMazeRandom
200120012001120124012001

CPU:Python4022.38 (3944)8050.45 (4087)4014.83 (4015)2478.22 (4766)4844.24 (3814)4163.17 (4042)
CPU:Pytorch65.95 (65)79.23 (40)65.22 (65)39.56 (76)78.72 (62)65.80 (64)
GPU:Pytorch1.021.971.000.521.271.03

The values in parentheses describe how many times the difference is based on GPU:Pytorch time for each test.