diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-04-03 22:32:11 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-09-25 14:10:09 +0200 |
commit | 744605ed826196aa6e0e3e3b5e945e50d830ed3a (patch) | |
tree | 6a7e628bd63ec2913816798bec98baee12147f67 /src | |
parent | 4b576ee6ad461b162dd64538f54df47b65b37972 (diff) | |
download | astra-744605ed826196aa6e0e3e3b5e945e50d830ed3a.tar.gz astra-744605ed826196aa6e0e3e3b5e945e50d830ed3a.tar.bz2 astra-744605ed826196aa6e0e3e3b5e945e50d830ed3a.tar.xz astra-744605ed826196aa6e0e3e3b5e945e50d830ed3a.zip |
Add feature flags for changed scaling behaviour
Diffstat (limited to 'src')
-rw-r--r-- | src/Features.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Features.cpp b/src/Features.cpp index 9114131..09a3499 100644 --- a/src/Features.cpp +++ b/src/Features.cpp @@ -34,6 +34,12 @@ _AstraExport bool hasFeature(const std::string &flag) { if (flag == "cuda") { return cudaEnabled(); } + if (flag == "projectors_scaled_as_line_integrals") { + return true; + } + if (flag == "fan_cone_BP_density_weighting_by_default") { + return true; + } return false; } |