Skip to content

Commit

Permalink
revert decision for dirtol default value
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Mar 19, 2018
1 parent ec4d77c commit dd6ff93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ v0.9.8 2018-03-19
"nphonon". Experts can now instead tune parameters for specific
background models by embedding them in the "bkgd" parameter value
itself, e.g. "bkgd=phonondebye:nphonon@20".
* dirtol (old orientationtolerance) default changed to 180 degrees.
* Temporarily disable single-crystal speedup code while we investigate
further, due to concerns that it is too aggresive (see github issue #13).

Expand Down
2 changes: 1 addition & 1 deletion ncrystal_core/src/NCMatCfg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ double NCrystal::MatCfg::get_dcutoffup() const { return m_impl->getVal<Impl::Val
double NCrystal::MatCfg::get_packfact() const { return m_impl->getVal<Impl::ValDbl>(Impl::PAR_packfact,1.0); }
double NCrystal::MatCfg::get_mos() const { return m_impl->getValNoFallback<Impl::ValDbl>(Impl::PAR_mos); }
bool NCrystal::MatCfg::get_expandhkl() const { return m_impl->getVal<Impl::ValBool>(Impl::PAR_expandhkl,false); }
double NCrystal::MatCfg::get_dirtol() const { return m_impl->getVal<Impl::ValDbl>(Impl::PAR_dirtol,M_PI); }
double NCrystal::MatCfg::get_dirtol() const { return m_impl->getVal<Impl::ValDbl>(Impl::PAR_dirtol,1e-4); }
bool NCrystal::MatCfg::get_bragg() const { return m_impl->getVal<Impl::ValBool>(Impl::PAR_bragg,true); }
const std::string& NCrystal::MatCfg::get_bkgd() const { return m_impl->getVal<Impl::ValStr>(Impl::PAR_bkgd,s_matcfg_str_best); }
const std::string& NCrystal::MatCfg::get_overridefileext() const { return m_impl->getVal<Impl::ValStr>(Impl::PAR_overridefileext,s_matcfg_str_empty); }
Expand Down

0 comments on commit dd6ff93

Please sign in to comment.