Commit 332d0fc5 authored by vbertone's avatar vbertone
Browse files

Speeding up APFEL++ evolution

parent 2fd33ad4
......@@ -106,7 +106,7 @@ PartonDistribution GPDEvolutionApfel::compute(GPDModule* pGPDModule, const GPDTy
// Set initial scale
m_MuF2_ref = pGPDModule->getMuF2Ref();
//if (m_xi != m_xi_prev)
if (m_xi != m_xi_prev)
{
// Get thresholds. Set to zero whatever is below one.
std::vector<double> thresholds;
......@@ -284,6 +284,9 @@ GPDEvolutionApfel::GPDEvolutionApfel(const GPDEvolutionApfel &other) :
void GPDEvolutionApfel::initModule() {
GPDEvolutionModule::initModule();
if (m_xi != m_xi_prev)
{
// Silence APFEL
apfel::SetVerbosityLevel(0);
......@@ -295,6 +298,7 @@ void GPDEvolutionApfel::initModule() {
// Running coupling
m_as = [=] (double const& mu) -> double{ return getRunningAlphaStrongModule()->compute(mu * mu); };
}
}
void GPDEvolutionApfel::isModuleWellConfigured() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment