Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import os
import shutil
import micromagneticmodel as mm
class System(mm.System):
"""System class.
This class is used for defining a micromagnetic system. In
order to uniquely define a micromagnetic system, the following
three parameters must be provided:
- Name
- Hamiltonian
- Dynamics equation
- Initial magnetisation configuration
When driven, a directory with the same name (`oommfc.system.name`)
will be created.
Parameters
----------