quda icon indicating copy to clipboard operation
quda copied to clipboard

Unify `loadGaugeQuda` and `loadSloppyGaugeQuda` as much as possible

Open weinbe2 opened this issue 5 years ago • 0 comments

In lib/interface_quda.cpp, the routines loadGaugeQuda and loadSloppyGaugeQuda, while distinct, do a lot of redundant work. They both contain logic to create the sloppy, preconditioned, and refinement gauge fields.

One easy solution would be to have loadGaugeQuda call loadSloppyGaugeQuda after creating the precise field, which would largely address the problem.

Assigning to myself for simplicity, but I may not get to it for a spell.

weinbe2 avatar Feb 14 '20 06:02 weinbe2