mumax3c.mumax3.overhead#

mumax3c.mumax3.overhead()#

Run a macrospin example for 1 ps through mumax3c and directly and return the difference in run times.

Returns:

The time difference (overhead) between running mumax3 though mumax3c and directly.

Return type:

float

Examples

  1. Getting the overhead time.

>>> import mumax3c as mc
...
>>> isinstance(mc.mumax3.overhead(), float)
Running mumax3...
True