nl: compute a single body-body or body-cell interaction concode_field_sep MathVector acc0 concode_elem_sep MathVector pos concode_elem_sep double mass concode_elem_sep int IMAX concode_elem_sep MathVector pos0 concode_elem_sep double phi0 concode_elem_sep double EPS concode_elem_sep Body pskip concode_field_sep Node loadTree concode_elem_sep int oldSubindex concode_elem_sep String toString concode_elem_sep double hackcofm concode_elem_sep HG walkSubTree
code: HG function ( HG arg0 ) { MathVector loc0 = new MathVector ( ) ; loc0 . subtraction ( pos , arg0 . pos0 ) ; double loc1 = loc0 . dotProduct ( ) + ( EPS * EPS ) ; double loc2 = Math . sqrt ( loc1 ) ; double loc3 = mass / loc2 ; arg0 . phi0 -= loc3 ; double loc4 = loc3 / loc1 ; loc0 . multScalar ( loc4 ) ; arg0 . acc0 . addition ( loc0 ) ; return arg0 ; }