Hi,
I work with a heterostructure simulation, in which I want to assign different damping constants "alpha" to different subregions. Using ubermag, it does work well with oommf, but not with mumax3c. The created .mx3 file shows for example alpha = {'region1': 0.01, 'region2': 0.2}. Changing line 27 and 52 in scripts\driver.py from
mx3 += f"alpha = {alpha}"
to this
mx3 += mc.scripts.set_parameter( parameter=alpha, name="alpha", system=system, ovf_format=ovf_format, )
worked for me. I assume this is a decent fix?
I'm a bit new to github/pull requests so I opened this as an issue first for someone to double check.
Hi,
I work with a heterostructure simulation, in which I want to assign different damping constants "alpha" to different subregions. Using ubermag, it does work well with oommf, but not with mumax3c. The created .mx3 file shows for example alpha = {'region1': 0.01, 'region2': 0.2}. Changing line 27 and 52 in scripts\driver.py from
mx3 += f"alpha = {alpha}"to this
mx3 += mc.scripts.set_parameter( parameter=alpha, name="alpha", system=system, ovf_format=ovf_format, )worked for me. I assume this is a decent fix?
I'm a bit new to github/pull requests so I opened this as an issue first for someone to double check.