| 313 | |
| 314 | #if 0 |
| 315 | static void |
| 316 | dumpGrid |
| 317 | ( |
| 318 | const byte_t * grid, |
| 319 | int bytesPerElement, |
| 320 | PHY_ScalarType type, |
| 321 | int max |
| 322 | ) |
| 323 | { |
| 324 | //std::cerr << "Grid:\n"; |
| 325 | |
| 326 | char buffer[32]; |
| 327 | |
| 328 | for (int j = 0; j < max; ++j) { |
| 329 | for (int i = 0; i < max; ++i) { |
| 330 | long offset = j * s_gridSize + i; |
| 331 | float z = convertToFloat(grid + offset * bytesPerElement, type); |
| 332 | sprintf(buffer, "%6.2f", z); |
| 333 | //std::cerr << " " << buffer; |
| 334 | } |
| 335 | //std::cerr << "\n"; |
| 336 | } |
| 337 | } |
| 338 | #endif |
| 339 | |
| 340 |
nothing calls this directly
no test coverage detected