Acceleration of numerical formulations by using graphic processing units and its application in electromagnetic launcher modeling