Magnetic analysis of non-circular cross-section tokamaks | Synapse