Supplement 1. C++ source code to model the spatial distribution of fixed dispersal phenotypes as described in this paper and a short description of the program and its options.

<h2>File List</h2><div> <p><a href="SupplementS1/Animal.h">Animal.h</a> (MD5: 8153e300d878df797b47e57d23dd5a6c)</p> <p><a href="SupplementS1/Animal.cpp">Animal.cpp</a> (MD5: 683e8c2c50db41f24112a96e7685d0b6)</p> <p><a href="SupplementS1/Landscape.h">Landscape.h</a> (MD5: 0b0ad03fece5a776e37312d9ca3b6985)</p> <p><a href="SupplementS1/Landscape.cpp">Landscape.cpp</a> (MD5: 995aef09ab98afc52476516734372275)</p> <p><a href="SupplementS1/Main.cpp">Main.cpp</a> (MD5: 8eaff25cd44dda1f770d9a22435db513)</p> <p><a href="SupplementS1/mersenne.cpp">mersenne.cpp</a> (MD5: 3aca9a8a7886793781b3e157a32825cd)</p> <p><a href="SupplementS1/Parameters.h">Parameters.h</a> (MD5: f3b58e95205f9a80a768f2a15a53594a)</p> <p><a href="SupplementS1/Parameters.cpp">Parameters.cpp</a> (MD5: 98844c290091a34b2cdc40b15db5f04b)</p> <p><a href="SupplementS1/Predators.h">Predators.h</a> (MD5: 381b096a56401a89af3b9ae6d69efc5b)</p> <p><a href="SupplementS1/Predators.cpp">Predators.cpp</a> (MD5: fd8ceed5b4085231c5c11b63ee80f631)</p> <p><a href="SupplementS1/randomc.h">randomc.h</a> (MD5: c9a7dd78ee8ffc00743f8346835638a8)</p> <p><a href="SupplementS1/stoc1.cpp">stoc1.cpp</a> (MD5: cc18034beb9b8b47ccbf3a67c04c87a8)</p> <p><a href="SupplementS1/stocc.h">stocc.h</a> (MD5: 3748e5471bf7b8b1d8f16ac201e54f01)</p> <p><a href="SupplementS1/userintf.cpp">userintf.cpp</a> (MD5: 4b20c9c2a5b06636fbcbd66891834c7e)</p> <p><a href="SupplementS1/readme.txt">readme.txt</a> (MD5: b2fef2ece86f9574c562f8235f5fa648)</p> </div><h2>Description</h2><div> <p>C++ individual-based model used in this study to model the spatial distribution of fixed dispersal phenotypes in a landscape consisting of n × n patches with spatiotemporal uncorrelated variation in <i>K</i>. The implementation of the model is fairly crude, in that model parameters are set within the file Parameters.cpp prior to compilation, and the model as it stands can therefore be run for only one set of parameters at a time. However, it would be possible to introduce <i>for</i> loops into the code within Main.cpp to vary parameters of interest. Technical information to run the model is described in the readme.txt file. Code was written by Stephen C. F. Palmer, to whom correspondence regarding these files should be addressed. </p> </div>