Greetings,
I have a regularly spaced 2d-matrix in a dx-formatted file, with
positions, connections and data. The positions extend in
x-direction from -Lx to Lx, and in y direction from -Ly to Ly. The data is
thus defined on a grid for positions (x,y) with -Lx <= x <= Lx and -Ly <=
y <= Ly.
For my analysis I only want to operate on a subset of this matrix, so
ideally I would specify values lx_min and lx_max, and ly_min and ly_max,
and ask some module to exclude only points for which lx_min <= x <=
lx_max and ly_min <= y <= ly_max.
I can see that this could possibly be solved by marking positions, having
several Include modules with Compute modules (to get x and
y-components) in series, and eventually unmarking the positions. However,
this sounds like lots of boxes on the screen ... Is there a better
solution?
Many thanks,
Hans
xslab = Slab(field, dim=0, position=-Lx, thickness=2*Lx+1)
xyslab = Slab(xslab, dim = 1, position=-Ly, thickness=2*Ly+1)
(substitute integer values for Lx and Ly above)
Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]