Write all the input files into a directory with the current settings.
directory (str) – The path to the simulation directory.