| 364 | } |
| 365 | |
| 366 | double meanOfSquare( |
| 367 | const uint x, |
| 368 | const uint y, |
| 369 | const uint halfStepLength, |
| 370 | const std::vector<std::vector<double> >&R) { |
| 371 | |
| 372 | return 0.25*( |
| 373 | R[x + halfStepLength][y + halfStepLength] + |
| 374 | R[x + halfStepLength][y - halfStepLength] + |
| 375 | R[x - halfStepLength][y + halfStepLength] + |
| 376 | R[x - halfStepLength][y - halfStepLength]); |
| 377 | } |
| 378 | |
| 379 | double meanOfDiamond( |
| 380 | const uint x, |
nothing calls this directly
no outgoing calls
no test coverage detected