Open
Description
Currently, to set the field values for the ijk struct, I convert first to linear indexing.
lh = LazyRow(h,i + Ny*(j-1) + Nx*Ny * (k-1));
setproperty!(lh,:x,hx)
setproperty!(lh,:y,hy)
setproperty!(lh,:z,hz)
I wonder if there is a direct way:
lh = LazyRow(h,(i,j,k));
setproperty!(lh,:x,hx)
setproperty!(lh,:y,hy)
setproperty!(lh,:z,hz)
Metadata
Metadata
Assignees
Labels
No labels