diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-04-06 20:21:39 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-04-06 20:21:39 +0200 |
commit | d2a866934a9cef292908c0456366cfbc59abea9d (patch) | |
tree | d7792139fcba8220360fc878aed5e95b544e1cc7 | |
parent | d44eacf9e805904867dd28524ff2b76540cb6ae1 (diff) |
Better PML falloff.
-rw-r--r-- | src/physics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/physics.c b/src/physics.c index 0946b06..38f9c88 100644 --- a/src/physics.c +++ b/src/physics.c @@ -18,7 +18,7 @@ static void phy_calc_fc(float *fc, size_t *x, size_t *widths, else continue; - fc[i] = EPS_ZERO / (2 * dt) * sin(0.5f * M_PI * f); + fc[i] = EPS_ZERO / (2 * dt) * pow(f, 3); } } |