You're adding an innovative (i.e., wrong) interpretation to the User
Guide's note.
Regrid wants a field to be regridded (generally one that has no grid or
has a grid that you don't care for) and a (new or different) grid field
to regrid the first field onto. So obviously, you can't send a field
that has no grid to the grid input (well you can, but it doesn't work).
You can, however, generate a nice regular grid field with Construct
(viz. Users Guide).
BTW, if you ever need two copies of the same field, just drag 2 (or
more) wires from the same output and send them where you will. Thus, if
it had been correct to connect the output of Select to 2 inputs of
Regrid, you could just take 2 wires from one Select. On the other hand,
if you needed two different members from the group, you would use 2
Selects, with different index values within each Select.
For future reference, you can also Select a disjoint set of members, as
{1,4,13} or a subrange as {1 .. 5} (spaces before and after the '..'
are required). But neither of those features helps in this instance.
On Sunday, Dec 7, 2003, at 01:46 America/New_York, Allen H. Nugent
wrote:
Chris was right: I did mean "Import" (not "Input"), and I should have
been using {Select} to provide the 1st field of what was actually a
group. Sorry about that.
I now have 2 identical instances of {Select} connected to the 1st 2
inputs of {Regrid}. The object they transmit consists of 3-vector
positions and 3-vector velocities. Including {Extract} only causes
errors. I no longer get an error message from {Regrid} but it does not
create a 'connections' component.
I wonder if the 2nd input parameter to {Regrid} (namely "grid") has to
possess a 'connections' component already? (If so, this would appear
to contradict the statement in Chapter 2 of the User's Guide: "If you
do not have connection information available, you can use the Connect
or Regrid modules to create connections for scattered point data.")
Alternatively, maybe trying to fake {Regrid} out by using the same
input to both tabs causes it to do nothing (?). (I could try inputting
a greater number of positions to the 2nd tab, which I plan to do
anyway.)
Can anyone point me to a more sophisticated example of the use of
{Regrid} than that in "Samples\Regrid.net" (preferably 3-D)?
Thanks!
Allen H. Nugent
Graduate School of Biomedical Engineering
University of New South Wales
Sydney NSW 2052 Australia
Tel: +61 2 9385 3916 Fax: +61 2 9663 2108