wengngai / NSSF_IBMs

Spatially explicit individual based models of tree species in the Nee Soon Freshwater Swamp Forest (NSSF) catchment in Singapore
1 stars 0 forks source link

Exploit parallerisation by applying function on individuals regardless of species #10

Open hrlai opened 3 years ago

hrlai commented 3 years ago

If we could change the functions to calculate competition, recruitment etc. across individuals regardless of what species they are (i.e., remove the need for the sp argument), then the parallel for-loops do not need to wait for one species to complete before going over another species. This should in principal increase the sim speed, and will be even more advantageous when we have more focal species in the near future.