INSTALLATION

This library is known to work on Ubuntu 22.04 using g++ 10.5.0, but it will
likely work with other configurations, too.  Lines starting with "$" are bash
commands.  For the purposes of these instructions, we will assume that we are
installing into /home/user/PhysBAM.  You will need to adjust the paths
based on the actual installation location.

1. Download the library.  This code requires version PhysBAM-0.

$ cd /home/user
$ wget https://www.cs.ucr.edu/~craigs/papers/physbam/PhysBAM-0.zip

2. Unpack the library:

$ unzip PhysBAM-0.zip

3. This extracts the library into a directory called PhysBAM, which in this case
is at /home/user/PhysBAM.  Next, we need to move the div_free directory into
Projects.

$ mv /path/to/div_free /home/user/PhysBAM/Projects/

4. Follow the library build instructions in /home/user/PhysBAM/README.txt.
Building the library automatically builds all projects located in the Projects
directory, so this project will be built automatically.

5. You can now run the examples for two papers from this directory.

$ cd /home/user/PhysBAM/Projects/div_free

6. This command runs the tests from the paper "Local divergence-free polynomial
interpolation on MAC grids."

$ ./2021-run-all.sh

7. This command runs the tests from the paper "Higher order divergence-free and
curl-free interpolation on MAC grids"

$ ./2022-run-all.sh
