[CIG-SHORT] Spatialdb Question
Tabrez Ali
stali at purdue.edu
Sun Jul 6 15:54:50 PDT 2008
PyLith Users/Developers
I have a BC which I want to smoothly vary (linearly), say from a
value of 1.0 at coord (100.0, 0.0, 0.0) to 0.0 at coord (0.0, 0.0, 0.0).
The spatialdb file goes like this...
SimpleDB {
num-values = 3
value-names = dof-0 dof-1 dof-2
value-units = m m m
num-locs = 2
data-dim = 1
space-dim = 3
cs-data = cartesian {
to-meters = 1.0
space-dim = 3
}
}
100.0 0.0 0.0 1.0 0.00 0.0
0.0 0.0 0.0 0.0 0.00 0.0
However in my results all the coords between (100.0, 0.0, 0.0) and
(50.0, 0.0, 0.0) have a value of 1.0 and all the coords between
(50.0, 0.0, 0.0) and (0.0, 0.0, 0.0) have a value of 0.0. So
basically instead of a smooth linear variation I seem to get a "step"
sort of a profile.
What am I doing wrong?
Thanks
T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20080706/2749e475/attachment.htm
More information about the CIG-SHORT
mailing list