1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 09:45:36 +00:00

for dwf_precondition

This commit is contained in:
Azusa Yamaguchi 2018-05-30 09:47:38 +01:00
parent 013ea4e8d1
commit 8b3e738269
3 changed files with 9 additions and 0 deletions

View File

@ -49,6 +49,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/algorithms/iterative/BlockConjugateGradient.h>
#include <Grid/algorithms/iterative/ConjugateGradientReliableUpdate.h>
#include <Grid/algorithms/iterative/ImplicitlyRestartedLanczos.h>
#include <Grid/algorithms/iterative/InexactPrecConjugateGradient.h>
#include <Grid/algorithms/CoarsenedMatrix.h>
#include <Grid/algorithms/FFT.h>

View File

@ -53,4 +53,10 @@ void MultiShiftFunction::csv(std::ostream &out)
}
return;
}
RealD __InverseApproximation(RealD x)
{
return 1.0/x;
}
}

View File

@ -63,5 +63,7 @@ public:
}
};
RealD __InverseApproximation(RealD x);
}
#endif