Feature #2816: GPU offload / optimization for update&constraits, buffer ops and multi-gpu communication
Remove extra D2H and H2D copies of coordinates when the COM motion is compensated.
To compensate the COM motion, the coordinates are needed on the host side. Currently, when update is offloaded, this is ensured by an extra D2H and H2D copy before and after the COM motion removal. This should be integrated with the rest of the code and copy should be performed only if it was not yet done on current step. One of the subtask that will improve general readability of the code would be to separate the COM motion removal from the compute globals, if this is possible.