SpinTEvolver#
- class oommfc.SpinTEvolver(**kwargs)#
Zhang-Li evolver.
Only attributes in
_allowed_attributescan be defined. For details on possible values for individual attributes and their default values, please refer toAnv_SpinTEvolvedocumentation (https://www.zurich.ibm.com/st/nanomagnetism/spintevolve.html).Examples
Defining evolver with a keyword argument.
>>> import oommfc as oc ... >>> evolver = oc.SpinTEvolver(method='rk4')
Passing an argument which is not allowed.
>>> import oommfc as oc ... >>> evolver = oc.SpinTEvolver(myarg=3) Traceback (most recent call last): ... AttributeError: ...
Getting the list of allowed attributes.
>>> import oommfc as oc ... >>> evolver = oc.SpinTEvolver() >>> evolver._allowed_attributes [...]
Methods
__dir__Default dir() implementation.
__eq__Return self==value.
__iter__Iterator.
__repr__Representation string.
Properties
nameName.