Index of /crcd/kriz/modules/module04/ARCHIVE/MOD_PVWAVE
Name Last modified Size Description
Parent Directory 27-Dec-2000 13:57 -
colbar.gif 17-Oct-2000 21:31 6k
colortab.ascii 17-Oct-2000 21:31 6k
dw2ds.data 17-Oct-2000 21:34 1k
dw2ds.data.OLD 17-Oct-2000 21:31 1k
dw2ds.f 17-Oct-2000 21:31 33k
dw2ds.f_README_f77_-..> 04-May-2001 16:35 2k
dw2ds.x 21-Oct-2000 13:15 135k
g.gif 01-Jan-2001 22:32 6k
maketp.f 17-Oct-2000 21:31 1k
maketp.x 17-Oct-2000 21:31 36k
poly2iv1.pro 17-Oct-2000 21:31 2k
poly2iv2.pro 17-Oct-2000 21:31 2k
poly2iv3.pro 17-Oct-2000 21:31 2k
poly2iv4.pro 17-Oct-2000 21:31 4k
remove_excess_files.sh 01-Jan-2001 21:49 1k
results.html 01-Jan-2001 22:19 2k
runiv1.pro 17-Oct-2000 21:31 1k
runiv2.pro 17-Oct-2000 21:31 1k
runiv3.pro 17-Oct-2000 21:31 1k
runiv4.pro 17-Oct-2000 21:31 1k
ws1.gif 01-Jan-2001 22:21 5k
ws1.html 01-Jan-2001 22:33 1k
ws2.gif 01-Jan-2001 22:21 6k
ws2.html 01-Jan-2001 22:33 1k
ws3.gif 01-Jan-2001 22:21 6k
ws3.html 01-Jan-2001 22:33 1k
----- This is the README file for ../module04/ARCHIVE/MOD_PVWAVE ------
This is a working archive directory where all results are confirmed
prior to making this into an interactive NPIB interactive module by
creating results in this directory. Instructions for creating results
are outlined below.
All programs in this directory work so that the viewer can download,
compile and run this programs on their computers. This section is
divided into six sections:
1) Compile dw2ds.f and create the executable dw2dx.x
- % f77 dw2ds.f -o dw2ds.x -limsl -lsocket
2) Generate wavesurface topology data files
- % dw2ds.x
- % maketp.x
3) Create parts for the VRML files using PV-Wave procedures
and concatinate these parts into VRML files
- % wave runiv1 > & foobar1
- % cat parta.dat partb.dat partc.dat > wavesurf1.wrl
- % wave runiv2 > & foobar2
- % cat parta.dat partb.dat partc.dat > wavesurf2.wrl
- % wave runiv3 > & foobar3
- % cat parta.dat partb.dat partc.dat > wavesurf3.wrl
- % wave runiv4 > & foobar4
- % cat parta.dat partb.dat partc.dat partd.dat parte.dat partf.dat partg.dat > glyph.wrl
- % rm foobar*
4) Create Inventor files from VRML files
- % cp wavesurf1.wrl wavesurf1.iv
- % cp wavesurf2.wrl wavesurf2.iv
- % cp wavesurf3.wrl wavesurf3.iv
- % cp glyph.wrl glyph.iv
5) View results in results.html
6) Cleanup files in this directory
- % remove_excess_files.sh
---------------------------------------------------------------------
CREATION OF INTERACTIVE NPIB INTERFACE FOR THIS MODULE
Once verified, these working programs are copied to the NPIB directory
/www/jwave/applets98/Receiver/commands/wavesurf_orth_.d except for
*.out, *.wrl, *.iv, *.err, part*.dat, color.dat, *.sh so that the only
remaining files in the wavesurf_orth_.d directory are: *.f, *.x,
results.html, *.pro, *.gif, and *.ascii.
DO NOT COPY README file from the MOD_PVWAVE directory to wavesurf_orth_.d
DO NOT DELETE *.sh file FROM the MOD_PVWAVE directory. The
remove_excess_files.sh shell script file will remove the appropriate
files form MOD_PVWAVE for archiving.
A shell script file named "wavesurf_orth_" recreates results in a unique
directory located in http://www.jwave.vt.edu/output/"app_date-time"/
/www/jwave/applets98/Receiver/commands/wavesurf_orth_:
-------------------------------------------------------------------
#!/bin/csh
cp /www/jwave/applets98/Receiver/commands/wavesurf_orth_.d/* $1
cd $1
setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib:/apps/hdf/lib:/usr/local/vni/lib/lib.solaris:/usr/lib
setenv LM_LICENSE_FILE /rmt_lic/licenses_combined:/usr/local/vni/license/license.dat
source /usr/local/vni/wave/bin/wvsetup
./dw2ds.x
./maketp.x
wave runiv1
cat parta.dat partb.dat partc.dat > wavesurf1.wrl
wave runiv2
cat parta.dat partb.dat partc.dat > wavesurf2.wrl
wave runiv3
cat parta.dat partb.dat partc.dat > wavesurf3.wrl
wave runiv4
cat parta.dat partb.dat partc.dat partd.dat parte.dat partf.dat partg.dat > glyph.wrl
rm parta.dat partb.dat partc.dat partd.dat parte.dat partf.dat partg.dat
rm g_poly.dat g_vert1.dat g_vert2.dat g_vert3.dat color.dat
cp wavesurf1.wrl wavesurf1.iv
cp wavesurf2.wrl wavesurf2.iv
cp wavesurf3.wrl wavesurf3.iv
cp glyph.wrl glyph.iv
exit 0
---------------------------------------------------------------------
Ronald D. Kriz, Virginia Tech, 10-7-00