I can't figure out how to import data on an irregular 
grid. I'm trying to enter a scalar field on  3d domain,
with x regular, y irregular, and z regular.  But the data 
description files I create with the data prompter give
incorrect settings when I reload them.

For a simple test case, I've used the Data Prompter 
to generate a data description file f.general, with these 
settings 

Data file: f.data
Grid size: 3 x 4 x 3
Data format: ASCII
Data order: Row
Grid positions: Partially regular
regular     origin,delta: 0,1
irregular   position list: 1,2,4,5
regular     origin, delta: 0,1
Field list: u
Field name: u
Type: float
Structure: scalar
Dependency: positions

I save that to f.general, which then has contents
----------------------------------------------------------------
file = f.data
grid = 3 x 4 x 3
format = ascii
interleaving = record
majority = row
field = u
structure = scalar
type = float
dependency = positions
positions = regular, irregular, regular, 0, 1,1,2,4,5,0, 1
----------------------------------------------------------------

I create a data file f.data with  36 identical lines: "4.2\n".
I exit dx, restart it, and enter "f.general" in the data file 
name slot in the Data Prompter. When the data description 
window opens, it has the correct gridsize but 

Grid positions: completely regular
regular: origin, delta 0,1
regular: origin, delta 1,2
regular: origin, delta 4,5

and I get a warning window that says "Parse error in positions
statement. Inconsistent dimension." Opendx seems to be ignoring 
the "irregular" marker on the positions line in f.general and 
interpreting part of the y-position list as the z-origin and delta.
When I try to alter the number of numbers in various regular/
irregular position lists, I get inconsistency errors when saving
the f.general file.

What's wrong? What am I missing?

This happens with dx-4.2.0 from an RPM and a dx-4.3.2 that I 
compiled myself on SUSE-Linux 8.2. I'm just getting started
with opendx, by the way.

thanks!

John
-- 
John F. Gibson    
47 Montgomery St. Apt. 1
Cambridge, MA 02140

[EMAIL PROTECTED]
617 441-3609

Reply via email to