Mumax3Runner#
- class mumax3c.mumax3.Mumax3Runner#
Abstract class for running mumax3.
Methods
__dir__
Default dir() implementation.
__eq__
Return self==value.
__repr__
Return repr(self).
call
Call an external simulation package by passing
argstr
to it.Properties
Simulation package name.
Run a macrospin example for 1 ps through mumax3c and print the mumax3 status.
- property package_name#
Simulation package name.
- property status#
Run a macrospin example for 1 ps through mumax3c and print the mumax3 status.
- Returns:
If
0
, the mumax3 is found and running. Otherwise,1
is returned.- Return type:
int
Examples
Checking the mumax3 status.
>>> import mumax3c as mc ... >>> mc.runner.runner.status Running mumax3... mumax3 found and running. 0