Function to write the gmacs.TPL file from gmacsbase.tpl and personnal.tpl.
write_TPL(vv = NULL, Dir = NULL, .update = NULL, End_Devel = FALSE)
(Numeric)- indicate the version - loop on the length(Dir).
(character vector)- hold the directories for the versions of GMACS considered in the analysis.
(logical)- Flag to specify if this is to update a new version of GMACS. If TRUE, the name of the new version of GMACS and the date of the compilation will be modified in the `gmacsbase.tpl` file.
(logical)- Flag to specify if gmacs.tpl is written at the end of a development period. Used when updating Gmacs.
a new gmacs.tpl file corresponding to the merging of gmacsbase.tpl and personnal.tpl files. This gmacs.tpl will then be used to build the GMACS executable.