Implemented using semi-realistic Einstein equations. They do talk about implementing a fully realistic version in the paper, but the director deemed it visually too confusing for the audience, so you only get to see a dumbed-down version in the movie.