HOW TO DOWNLOAD EMAP4?

The EMAP4 source code and supporting files are available in the following zip file, EMAP4.zip. Download this file to your computer and unzip it. It will create a directory called emap4.1.0. The directory contains 3 source code files:

emap4.c
alloc.h
complex.h

and four sample input files

cavity.in
PML.in
tline.in
w_guide.in

HOW TO COMPILE AND RUN EMAP4?

The EMAP4 code is written in ANSI C. Thus, it can be compiled on many kinds of computers. To compile the codes, you need to run the following commands:

$    cc -o Emap4 emap4.c -lm

On some workstations, you may need to use -Aa option.