I'm not 100% certain what you mean by attractiveness and repulsiveness of the surface. Do you have the exact language used by the question?

Were I to hazard a guess, it'd be that "attractiveness" means tendency toward a certain point and "repulsiveness" means tendency away from a certain point. If that's what the question refers to, then attractiveness and repulsiveness at one point (A) relative to another (B) would be indicated by the mathematical gradient (i.e., slope) at (A) along the vector defined by the two points (B) in the direction of (A). If the slope = positive, attractive (reaction moves toward (B)); if the slope = negative, repulsive (reaction moves toward (A)). This basically has the meaning that if (A) has lower potential energy than (B), then the reaction at (A) moves away from (B). If (A) has higher potential energy than (B), then the reaction at (A) moves toward (B).