Swap materials in the input file GaN=1.
Add a dummy refine_grid () routine and elaborate on some comments.