You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: