MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
Go to the source code of this file.
Data Structures | |
class | MFM::MDist< R > |
Macros | |
#define | EVENT_WINDOW_SITES(radius) ((((radius)*2+1)*((radius)*2+1))/2+1) |
Support for Manhattan distance calculations
#define EVENT_WINDOW_SITES | ( | radius | ) | ((((radius)*2+1)*((radius)*2+1))/2+1) |
Compute the number of sites within Manhattan distance 'radius' of a given center site. WARNING: Macro expands argument 'radius' twice! Avoid side-effects!