Use two instances of Slab (one fo each dimension). Slab operates on grid coordinates not positions. So, you would have to convert the locations of your subset to the locations within the grid.
Include will either toss (cull by default) the positions, which will create irregular positions and a connections list. Depending on the size of the subset, this could increase substantially the storage requirement for your data. Alternatively Include can mark the positions outside the subset as invalid, adding a component to the field, but otherwise keeping the regularity. Hans Fangohr <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 06/19/2001 08:14:37 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: [opendx-users] How to include subset of data, specified by position 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 ---------------------------------------------- Hans Fangohr University of Southampton ----------------------------------------------
