Currently, only the Shift(x) command can be used in input scripts, which shifts the magnetization along the X axis. Internally, shifts along Y and Z exist, but these are only used in a select few internal functions.
If someday we wish to add support for shifting along all coordinate axes, we should:
Currently, only the
Shift(x)command can be used in input scripts, which shifts the magnetization along the X axis. Internally, shifts along Y and Z exist, but these are only used in a select few internal functions.If someday we wish to add support for shifting along all coordinate axes, we should:
ShiftMagFandShiftMagB, storing the front (+z) and back (-z) inserted magnetization.cuda/shiftedgecarryz.cu.engine/shift.goand exposeShiftX(),ShiftY()andShiftZ()for input scripts.ShiftX()is redundant as it is identical toShift(), butShift()has to stay for backwards compatibility.TotalShiftYand createTotalShiftZ. Ideally,TotalShiftwould be a vector, but that would break backwards compatibility, so keepTotalShiftthe same and add a redundantTotalShiftX.