Original version was FATE-HD, developed and used in
papers such as Boulangeat 2014, Barros 2017 or
Carboni 2018 (see FATE tutorial -
Publications). It was only C++ code, and all modules
were linked together (LIGHT, DISPERSAL,
HABSUIT, SEEDING,
DISTURBANCE).
Refinements to the model, and integration of the C++
code within an R package, as well as new modules
development, were meant to facilitate the use and spread of the
FATE model.
name.simulation
parameterdoRichness, doCover,
doLeinster, doCWM parameters in
POST_FATE.graphic_mapPFG function doRichness via binary maps directly .zip stepSimulMap::UpdateSimulationParameters
functionSEED in global parameters (instead of
chrono::system_clock::now().time_since_epoch().count(),
impacting dispersal, disturbance probability,
envsuitRef) and m_RNG parameter in
SimulMap
std::mt19937 to
std::default_random_engine to generate random numberspragma loops
(dispersal, disturbances)Disp::DoDispersalPacket to
SimulMap::DoDispersal
resize /
clear / reserve / emplace_back
functions)DIST_CHANGEFREQ_FILES and
DIST_CHANGEFREQ_YEARS in global parametersapplyDist way of working, correct modulo, and
add applyRand
.adaptMaps when files have same extensionMAX_ABUND with as.integer in PFG
succession filesrequired.max_abund_low, medium and
high parameters in global parameters functionSHADE_FACTOR for soil contribution
(TEST)phyloclim dependency by integrating
niche.overlap function within the packagemaskCells and
cellID parameters related, Spatial.h,
Legion::addCohort() and
Legion::reduceCohort()) and remove useless
static_cast<int>
GDT_UInt16 to
GDT_UInt32, and from GUInt16 to
GUInt32
for loop from .size() to
range-basedLogger and
call only on saving yearsSHADE_FACTOR from int to doubleMAX_ABUND_LOW, MAX_ABUND_MEDIUM,
MAX_ABUND_HIGH in global parametersMAX_ABUND parameter within PFG succession
files (see FATE tutorial -
Modules)DROUGHT module codem_Dispersed to
m_IsSeeded, MaxRecruit to
Light/SoilActiveGerm, m_DormBreaks to
m_ActiveSeeds)Makevars.win and winlibs to compile
on Windows with R 4.4.0 and RTools44DIST_PROB and
DIST_PAIR parameters within DIST module (see
FATE tutorial - Modules)SuFate::DoDisturbance()
(optimization)Legion::pickupCohorts() from
Legion::reduceCohort() function, and add
Legion::reduceCohort() function targeting directly a
specified cohort (seg fault)LIGHT_TOL values in
SuFate::CheckSurvival() function0:10 to 0:100
for IMM_SIZE, ACTIVE_GERM,
LIGHT_TOL, SOIL_TOL, PROP_KILLED,
ACTIVATED_SEED, FATES parametersLIGHT_RECRUITMENT parameter within
LIGHT module, --SOIL_MASK--,
SOIL_FILL_MAP and SOIL_RECRUITMENT parameters
within SOIL module (see FATE tutorial - Modules)BH package from version
1.75 to 1.81SimulMap with unswitchingSHADE_FACTOR parameter within
LIGHT module (see FATE tutorial - Modules)LIGHT module (height strata)PRE-FATE,
FATE, POST-FATE), that can be easily installed
on all OS (Mac, Unix, Windows)shiny interface for those who prefer to visually
explore the parameters (see SHINY interface
page)