https://github.com/geodynamics/citcoms
Revision 38bdaf9dd9be244384bb4889b7dd6ce0834035d0 authored by Eh Tan on 25 January 2007, 23:30:49 UTC, committed by Eh Tan on 25 January 2007, 23:30:49 UTC
The previous code computed and stored the Cartesian velocity in E->temp in
v_from_vector() and accessed E->temp in velo_from_element. This is bug prone.
E->temp is a temporary array and should be used for storage.

Also, in previous code, if E->sphere.cap[m].V is modified, one has to recompute
E->temp. Otherwise, the Cartesian velocity will be incorrect.

1 parent 8734680
History
Tip revision: 38bdaf9dd9be244384bb4889b7dd6ce0834035d0 authored by Eh Tan on 25 January 2007, 23:30:49 UTC
Compute the velocity in Cartesian coord on the fly.
Tip revision: 38bdaf9
File Mode Size
Mayavi2
OpenDXMacro
samples
Makefile.am -rw-r--r-- 4.4 KB
autocombine.py -rwxr-xr-x 2.6 KB
batchcombine.py -rwxr-xr-x 3.3 KB
batchpaste.sh -rwxr-xr-x 1.7 KB
batchsurf.py -rwxr-xr-x 3.1 KB
citcoms_datadir -rwxr-xr-x 421 bytes
combine.py -rwxr-xr-x 3.7 KB
combinesurf.py -rwxr-xr-x 4.6 KB
dxgeneral.sh -rwxr-xr-x 1.8 KB
dxgeneralsurf.sh -rwxr-xr-x 1.8 KB
estimate_size.py -rwxr-xr-x 8.8 KB
execpaste.py -rwxr-xr-x 2.1 KB
getcoord.sh -rwxr-xr-x 1.7 KB
getlog.sh -rwxr-xr-x 1.3 KB
getsurf.sh -rwxr-xr-x 1.8 KB
h5tocap.c -rw-r--r-- 5.8 KB
h5tocap.py -rwxr-xr-x 3.6 KB
h5tovelo.c -rw-r--r-- 5.2 KB
h5util.c -rw-r--r-- 7.9 KB
h5util.h -rw-r--r-- 1.4 KB
mayavi2_citcoms_display.py -rwxr-xr-x 4.1 KB
miff2avi -rwxr-xr-x 2.4 KB
miff2mpg -rwxr-xr-x 2.3 KB
parser.py -rwxr-xr-x 7.9 KB
pasteCitcomData.sh -rwxr-xr-x 1.5 KB
plot_annulus.py -rwxr-xr-x 7.4 KB
plot_layer.py -rwxr-xr-x 4.8 KB
visFull.cfg -rw-r--r-- 4.4 KB
visFull.net.in -rw-r--r-- 37.4 KB
visRegional.cfg -rw-r--r-- 4.2 KB
visRegional.net.in -rw-r--r-- 33.9 KB
visRegionalSurface.cfg -rw-r--r-- 8.0 KB
visRegionalSurface.net.in -rw-r--r-- 90.9 KB
zslice.py -rwxr-xr-x 3.4 KB

back to top