MinDriver#
- class oommfc.MinDriver(**kwargs)#
Energy minimisation driver.
Only attributes in
_allowed_attributescan be defined. For details on possible values for individual attributes and their default values, please refer toOxs_MinDriverdocumentation (https://math.nist.gov/oommf/).Examples
Defining driver with a keyword argument.
>>> import oommfc as oc ... >>> md = oc.MinDriver(stopping_mxHxm=0.01)
Passing an argument which is not allowed.
>>> import oommfc as oc ... >>> md = oc.MinDriver(myarg=1) Traceback (most recent call last): ... AttributeError: ...
Getting the list of allowed attributes.
>>> import oommfc as oc ... >>> md = oc.MinDriver() >>> md._allowed_attributes [...]
Methods
__dir__Default dir() implementation.
__eq__Return self==value.
__iter__Iterator.
__repr__Representation string.
driveDrives the system in phase space.
drive_kwargs_setupAdditional keyword arguments allowed for drive.
scheduleSchedule drive of the system in phase space.
schedule_kwargs_setupAdditional keyword arguments allowed for schedule.
write_mifWrite the mif file and related files.
Properties
nameName.