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
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:
Create ShiftMagF and ShiftMagB, storing the front (+z) and back (-z) inserted magnetization.
Implement cuda/shiftedgecarryz.cu.
Add Z direction to engine/shift.go and expose ShiftX(), ShiftY() and ShiftZ() for input scripts. ShiftX() is redundant as it is identical to Shift(), but Shift() has to stay for backwards compatibility.
Expose TotalShiftY and create TotalShiftZ. Ideally, TotalShift would be a vector, but that would break backwards compatibility, so keep TotalShift the same and add a redundant TotalShiftX.
The text was updated successfully, but these errors were encountered:
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:
ShiftMagF
andShiftMagB
, storing the front (+z) and back (-z) inserted magnetization.cuda/shiftedgecarryz.cu
.engine/shift.go
and exposeShiftX()
,ShiftY()
andShiftZ()
for input scripts.ShiftX()
is redundant as it is identical toShift()
, butShift()
has to stay for backwards compatibility.TotalShiftY
and createTotalShiftZ
. Ideally,TotalShift
would be a vector, but that would break backwards compatibility, so keepTotalShift
the same and add a redundantTotalShiftX
.The text was updated successfully, but these errors were encountered: