From what I understand of concave and convex is as follows:

Concave: Points on a graph where the slope is decreasing.

Convex: Points on a graph where the slope is increasing.

This of course is a just a simple explanation, like I said, from what I understand.

So I'd say your looking for all the points where:

These would be the convex set.

These would be the concave set.