N-body simulations forf(R)gravity using a self-adaptive particle-mesh code | doi.page