Proceed as follows:
wmm_unix.zip (UNIX / Linux) or
wmm_dos.zip (Windows).
unzip wmm_unix.zip (UNIX / Linux) or
pkzip -extr -dir wmm_dos.zip (Windows ...)
zip on
a PC running Linux). This should create a directory Wmm containing
the
C++ mode solver library files, makefiles,
a short README file, and a folder
Apps with some
examples for application programs,
C++ main()-files.
Apps, copy it to the Wmm directory, 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.
makefile according 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).
P in the folder Wmm.
w, which is to be produced
by compiling w.cpp. Hence the commands
cp newapp.cpp w.cpp
make
cp w newapp
newapp. Additionally,
the new application must be transferred to folder P, and a copy
of the source newapp.cpp may also be useful in P. This
is what the script files mo or mo.bat do. Execute the command
mo newapp
Wmm to compile your application program (maybe a chmod +x mo is required).
P:
cd P
newapp.
newapp 2>res.
Good luck!