diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-07-28 13:01:13 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-07-28 13:01:13 +0200 |
commit | 96830c5eed9bda549ba078a84381ce94438a8d36 (patch) | |
tree | 9b37c60d4c6d63b121bcc007de0af82e42cb678c /brill_data.h | |
parent | e6be3f8851fcd578d2cdcec5d85cd96f6cc65162 (diff) |
Add support for off-centered waves.
Bump SONAME due to ABI break.
Diffstat (limited to 'brill_data.h')
-rw-r--r-- | brill_data.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/brill_data.h b/brill_data.h index 05a3511..76401bd 100644 --- a/brill_data.h +++ b/brill_data.h @@ -43,7 +43,7 @@ enum BDQFuncType { /** - * q(ρ, z) = A ρ^2 exp(-ρ^2 - z^2) + * q(ρ, z) = A ρ^2 exp(-(ρ-ρ_0)^2 - z^2) */ BD_Q_FUNC_GUNDLACH, /** @@ -108,6 +108,12 @@ typedef struct BDContext { */ unsigned int eppley_n; + /** + * Center of the wave for BD_Q_FUNC_GUNDLACH. + * Defaults to 0. + */ + double rho0; + /******************************** * solver options * ********************************/ |