How to apply a load on a single point or a node

Please format your code appropriately, using 3x` encapsulation.you should also consider the answers in: Implement point source in the variational formulation