Up: Physical/Computational parameters
An example of how to implement a sponge layer is shown in
phys.c in the form
where the timescale is defined by the value of sponge_decay. If then
no sponge layer is employed. Note that this sponge layer assumes the boundary is located at
and that the sponge layer is roughly m thick and extends in the positive direction!