Skip to content

Commit

Permalink
use new parameter evmax
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcogarofalo committed Apr 12, 2024
1 parent 971243e commit 1bb347c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quda_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2616,8 +2616,7 @@ void compute_ndcloverrat_derivative_quda(monomial * const mnl, hamiltonian_field
coeff[shift] = 4. * mnl->kappa * mnl->kappa * mnl->rat.rmu[shift] * mnl->EVMaxInv;
inv_param.offset[shift] = mnl->rat.mu[shift];
}
// FIXME: we use an existing paremeter of QUDA to pass the max eigenvalue, maybe in the future you want create a new parameter for this
inv_param.ca_lambda_max= 1.0/mnl->EVMaxInv;
inv_param.evmax= 1.0/mnl->EVMaxInv;

double kappa2_quda = - mnl->kappa*mnl->kappa; // -kappa*kappa
double ck_quda = - mnl->c_sw * mnl->kappa / 8.0;
Expand Down

0 comments on commit 1bb347c

Please sign in to comment.