It would be good to make the adjoint code dimension-agnostic, i.e. it should work for any Lx × Ly × Lz material grid and do filtering along all of the axes, specializing to 2d or 1d filters when one or two of the dimensions are zeros.
cc @smartalecH
@mochen4, when you were trying out full 3d TO, were you just skipping filtering?
It would be good to make the adjoint code dimension-agnostic, i.e. it should work for any Lx × Ly × Lz material grid and do filtering along all of the axes, specializing to 2d or 1d filters when one or two of the dimensions are zeros.
cc @smartalecH
@mochen4, when you were trying out full 3d TO, were you just skipping filtering?