introduce functions.g
use functions.g to set the boundary conditions in quickstart laplacian
use the 3D case