documentation for drag computation