How to satisfy the periodic boundary conditions of the first derivative and the second derivative at the same time

How to satisfy the periodic boundary conditions of the first derivative and the second derivative at the same time?

fespace Uhf(Thf,P3,periodic=[[1],[2]]);

屏幕截图 2022-06-09 181327