Patent ID: 8849627

Claim:
A system comprising: a processor system including one or more processors; and a memory system including one or more non-transient storage media coupled to the processor system; the memory system storing one or more machine instructions, which when invoked cause the processor system to implement a method comprising: computing, by the processor system, numerical values for a set of parameters of a parameterized effectively continuous electromagnetic potential; the computing being performed, by the processor system, at least extremizing an action integral within a predetermined tolerance for which a Lagrangian density contains terms for at least an electromagnetic field; the extremizing being performed, by the machine, at least numerically solving a set of equations for the set of parameters; the set of equations being a set of equations that result from taking partial derivatives of the action integral with respect to the set of parameters; and storing, at least temporarily, results of the extremizing in the memory system; the potential being a linear function of the parameters, the linear function including at least a sum of products, each product being one parameter of the set of parameters times a potential basis function of a set of basis functions.