fRevolution − Relativistic Cosmological Simulations in
f(R) Gravity I: Methodology
We present the relativistic cosmological $N$-body code $\texttt{fRevolution}$, built on $\texttt{gevolution}$, for simulating non-linear structure formation in $f(R)$ gravity. The code solves the full set of gravitational perturbations in the Hu-Sawicki model, using a particle-mesh method. We demonstrate results for a point mass and cosmological simulations, comparing them to existing Newtonian codes.