Skip to content

Commit

Permalink
Merge branch 'develop' into feature/precon-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe2 committed Jul 6, 2023
2 parents 7616731 + cb88d7c commit 62e5c3b
Show file tree
Hide file tree
Showing 2 changed files with 473 additions and 89 deletions.
8 changes: 8 additions & 0 deletions include/invert_quda.h
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,14 @@ namespace quda {
virtual bool hermitian() { return true; } /** CG is only for Hermitian systems */

virtual QudaInverterType getInverterType() const noexcept override { return QUDA_CG_INVERTER; }

protected:
/**
* @brief Separate codepath for performing a "simpler" CG solve when a heavy quark residual is requested.
* @param out Solution-vector.
* @param in Right-hand side.
*/
void hqsolve(ColorSpinorField &out, ColorSpinorField &in);
};

class CGNE : public CG
Expand Down
Loading

0 comments on commit 62e5c3b

Please sign in to comment.