function [ node_file_name, element_file_name ] = ... file_name_specification ( node_file_name, element_file_name ) %% FILE_NAME_SPECIFICATION determines the names of the input files. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 29 August 2006 % % Author: % % John Burkardt % % Parameters: % % Input, string NODE_FILE_NAME, the name of the node file, if the user % supplied it on the command line. % % Input, string ELEMENT_FILE_NAME, the name of the element file, % if the user supplied it on the command line. % % Output, string NODE_FILE_NAME, the name of the node file. % % Output, string ELEMENT_FILE_NAME, the name of the element file. % if ( nargin < 1 ) fprintf ( 1, '\n' ); node_file_name = input ( ' Please enter the name of the node file.' ); end if ( nargin < 2 ) fprintf ( 1, '\n' ); element_file_name = ... input ( ' Please enter the name of the element file.' ); end return end