Proceed as follows:
wmm_unix.zip(UNIX / Linux) or
unzip wmm_unix.zip(UNIX / Linux) or
pkzip -extr -dir wmm_dos.zip(Windows ...)
zipon a PC running Linux). This should create a directory
Wmmcontaining the C++ mode solver library files, makefiles, a short README file, and a folder
Appswith some examples for application programs, C++ main()-files.
Apps, copy it to the
Wmmdirectory, edit it for your own needs, and save it by the name
newapp.cpp. Only the file wmminc.h must be included into the main program; it summarizes the header files which are necessary to access the library routines.
makefileaccording to the requirements of your compiler. Probably merely the specifications of the compilation command and the compiler options (first two lines) need to be adapted. The file included should work with the GNU C++ compiler on a standard Linux system (11/2019).
Pin the folder
w, which is to be produced by compiling
w.cpp. Hence the commands
cp newapp.cpp w.cpp
cp w newapp
newapp. Additionally, the new application must be transferred to folder
P, and a copy of the source
newapp.cppmay also be useful in
P. This is what the script files
mo.batdo. Execute the command
Wmmto compile your application program (maybe a
chmod +x mois required).