Changeset 1000 for trunk/vizservers/nanovis/dxReaderCommon.cpp
- Timestamp:
- May 5, 2008, 3:05:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/vizservers/nanovis/dxReaderCommon.cpp
r956 r1000 60 60 for (int ix=0; ix < nx; ix++) { 61 61 // gradient in x-direction 62 63 // INSOO -teST 62 64 double valm1 = (ix == 0) ? 0.0 : data[ngen - 4]; 63 65 double valp1 = (ix == nx-1) ? 0.0 : data[ngen + 4]; … … 65 67 data[ngen+1] = 0.0; 66 68 } else { 67 data[ngen+1] = valp1-valm1; // assume dx=1 69 data[ngen+1] = valp1-valm1; // assume dx=1 // ISO 68 70 //data[ngen+1] = ((valp1-valm1) + 1) * 0.5; // assume dx=1 69 71 } … … 76 78 } else { 77 79 data[ngen+2] = valp1-valm1; // assume dx=1 78 //data[ngen+2] = ((valp1-valm1) + 1) * 0.5; // assume dy=1 80 //data[ngen+2] = ((valp1-valm1) + 1) * 0.5; // assume dy=1 // ISO 79 81 } 80 82 … … 86 88 } else { 87 89 data[ngen+3] = valp1-valm1; // assume dx=1 88 //data[ngen+3] = ((valp1-valm1) + 1.0) * 0.5; // assume dz=1 90 //data[ngen+3] = ((valp1-valm1) + 1.0) * 0.5; // assume dz=1 //ISO 89 91 } 90 92
Note: See TracChangeset
for help on using the changeset viewer.