Petrov magnetic calculations