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
SSD defines the function check_grid to check if a grid has the correct number of ticks required for the potential calculation, but never actually calls that function anywhere:
@assertiseven(nz) "GridError: Field simulation algorithm in cylindrical coordinates needs an even number of grid points in z. This is not the case. #z-ticks = $(nz)."
@assert (iseven(nφ) || (nφ ==1)) "GridError: Field simulation algorithm in cylindrical coordinates needs an even number of grid points in φ or just one point (2D). This is not the case. #φ-ticks = $(nφ)."
@assertiseven(nx) "GridError: Field simulation algorithm in cartesian coordinates needs an even number of grid points in x. This is not the case. #x-ticks = $(nx)."
returnnothing
end
We should make sure that this is called in relevant places (which could have saved some time in the past, e.g. here: #594 (comment) 😅)
Activity