FEDEM Solver
R8.0
Source code of the dynamics solver
|
Module with subroutines for file handling. More...
Functions/Subroutines | |
subroutine | getfilename (file, name, suffix) |
Extracts a file name from a command-line option. More... | |
Module with subroutines for file handling.
This module contains various utility subroutines and functions for management of file unit numbers that mostly are used for debug output. You have to configure doxygen with the option ENABLED_SECTIONS = FULL_DOC to extract the detailed documentation of the symbols in this module.
subroutine fileutilitiesmodule::getfilename | ( | character(len=*), intent(in) | file, |
character(len=*), intent(out) | name, | ||
character(len=*), intent(in), optional | suffix | ||
) |
Extracts a file name from a command-line option.
[in] | file | The command-line option to extract from |
[out] | name | The value of the command-line option |
[in] | suffix | File extension to use when using default file |
If needed the string value is converted to UNIX or Windows format. If the specified command-line option is not used, the default file name is <partname><suffix>
where <partname>
is the name of the FE data file without the file extension, as provided with the -linkfile
option.