42 vector n1 = n/(magN + SMALL);
47 return 2*((centre(meshPoints) -
p) & n2)/((n1 & n2) - 1.0);
scalar contactSphereDiameter(const point &p, const vector &n, const pointField &) const
Return contact sphere diameter.
A normal distribution model.
dimensioned< scalar > mag(const dimensioned< Type > &)