Randy,

Don't you mean to be printing "e"?

You havn't changed the value of "c" by POST.  You only used it as input
and stored the result in "d".

-Ned Piburn

Randall Hopper wrote:
> 
> A regular 2D grid.  This simplified example preserves the result.
> 
>    > dx -processors 1 -script
>    dx> c = Construct( [0,0],{[0,1],[1,0]},[3,3],{0,1,2,3,4,5,6,7,8} );
>    dx> d = Post( c, "connections" );
>    dx> e = Reduce( d, 2 );
>    dx> Print( c, "r", "data" );
>     0:  PRINT:
>    Field.  4 components.
>    Component number 0, name 'positions':
>    Component number 1, name 'connections':
>    Component number 2, name 'data':
>     Generic Array.  9 items, integer, real, scalar
>     Attribute.  Name 'dep':
> ->   String.  "positions"
>    Component number 3, name 'box':
> 
> Randy
> 
> Gregory D Abram:
>  |
>  |Whats your data look like?  I did this:
>  |
>  |c = Construct([-1 -1 -1], [.1 .1 .1], [21 21 21], {1 .. 9261});
>  |c = Post(c, "connections");
>  |c = Reduce(c, 2);
>  |Print(c, "r", "data");
>  |
>  |And got:
>  |
>  |Field.  4 components.
>  |Component number 0, name 'positions':
>  |Component number 1, name 'connections':
>  |Component number 2, name 'data':
>  | Generic Array.  1000 items, integer, real, 1-vector
>  | Attribute.  Name 'dep':
>  |  String.  "connections"
>  |Component number 3, name 'box':
> ...
> 
> Randall Hopper
>  |I have a data field that's position dependent.
>  |I Post it to make it connection dependent.
>  |I then Reduce it by 2.
>  |The resulting data is position dependent.
> 
> --
> Randall Hopper (mailto:[EMAIL PROTECTED])
> Lockheed Martin Operation Support
> EPA Scientific Visualization Center
> US EPA N127-01; RTP, NC 27711

Reply via email to