fengyanshi / FUNWAVE-TVD

43 stars 51 forks source link

Modification to Makefile and command input argument #33

Closed zhoutengye closed 5 years ago

zhoutengye commented 5 years ago

The new makefile has the following features: (1) Makefile does not have to be in src, but can be everywhere (2) All the pre-processor code files, module files, and objective files will be well organized (3) The more simplified and efficient option list (4) Can work like the old Makefile when copy to src and set to correct path

The new command-line argument features: (1) when just execute "mpirun -np xx ./funwave" without argument, the executable will read from "input.txt" (2) when just execute "mpirun -np xx ./funwave foo" without argument, the executable will read from the file named "foo"(with extension)