RKKY#
- class micromagneticmodel.RKKY(**kwargs)#
RKKY energy term.
This class defines RKKY interaction between two closest (mutually facing) surfaces of subregions defined by passing
subregionslist.- Parameters:
sigma (numbers.Real, optional) – Bilinear surface (interfacial) exchange energy constant.
sigma2 (numbers.Real, optional) – Biquadratic surface (interfacial) exchange energy constant.
subregions (list, tuple, set) – Length-2 list of strings, which are the names of two interacting regions.
Examples
Defining the RKKY energy term between two subregions.
>>> import micromagneticmodel as mm ... >>> rkky = mm.RKKY(sigma=-1e-4, subregions=['r1', 'r2'])
An attempt to define the RKKY energy term using a wrong value.
>>> rkky = mm.RKKY(sigma=-1e-4, subregions='r1') Traceback (most recent call last): ... TypeError: ...
Methods
__add__Binary
+operator.__dir__Default dir() implementation.
__eq__Relational operator
==.__iter__Iterator.
__repr__Representation string.
densityeffective_fieldenergyProperties
nameName.
sigmaDescriptor allowing setting attributes only with scalars (
numbers.Real).sigma2Descriptor allowing setting attributes only with scalars (
numbers.Real).subregionsDescriptor allowing setting attributes only with values of a certain type.