Specifically, only assemble gravity contributions on internal faces or external Dirichlet faces. Moreover, pay attention to direction of gravity flux (in/out of cell) during assembly.