How to impose a DirchletBC at the center of mass?

See Setting Delta-function-like initial condition - #2 by dokken