Dear community,
Apologies since I think I am asking a very trivial question.
I have gone through the ferrofluid simulation and have played around with it. I would like to change the homogenous magnetic field to a spatially gradient field. I have tried to pass a matrix containing interpolated H_field with dimensions 'boxsize by boxsize', but it did not work for espressomd.constraints.HomogeneousMagneticField.
Can someone point me to some documentation or help me with this?
I am new to MD and trying to simulate my experiments here.
Thanks,
Debayan