Xf_ThermSpinXferEvolver#

class oommfc.Xf_ThermSpinXferEvolver(**kwargs)#

Slonczewski evolver for finite temperature.

Only attributes in _allowed_attributes can be defined. For details on possible values for individual attributes and their default values, please refer to Xf_ThermSpinXferEvolve documentation (https://kelvinxyfong.wordpress.com/research/research-interests/oommf-extensions/oommf-extension-xf_thermspinxferevolve/).

Examples

  1. Defining evolver with a keyword argument.

>>> import oommfc as oc
...
>>> evolver = oc.Xf_ThermSpinXferEvolver(method='rk4')
  1. Passing an argument which is not allowed.

>>> import oommfc as oc
...
>>> evolver = oc.Xf_ThermSpinXferEvolver(myarg=3)
Traceback (most recent call last):
   ...
AttributeError: ...
  1. Getting the list of allowed attributes.

>>> import oommfc as oc
...
>>> evolver = oc.Xf_ThermSpinXferEvolver()
>>> evolver._allowed_attributes
[...]

Methods

__dir__

Default dir() implementation.

__eq__

Return self==value.

__iter__

Iterator.

__repr__

Representation string.

Properties

name

Name.