ParamFile.
write_parameters
This method writes a parameters file (.prm) called filename and fills it with all the parameters class members. Default value is parameters.prm.