mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-10 06:00:45 +01:00
ClangFormat
This commit is contained in:
parent
3beb8f4091
commit
8522352aa3
@ -3,11 +3,14 @@
|
|||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|
||||||
typedef Representations< SpFundamentalRepresentation, SpTwoIndexAntiSymmetricRepresentation > TheRepresentations;
|
typedef Representations<SpFundamentalRepresentation,
|
||||||
|
SpTwoIndexAntiSymmetricRepresentation>
|
||||||
|
TheRepresentations;
|
||||||
|
|
||||||
Grid_init(&argc, &argv);
|
Grid_init(&argc, &argv);
|
||||||
|
|
||||||
typedef GenericSp2nHMCRunnerHirep<TheRepresentations, MinimumNorm2> HMCWrapper;
|
typedef GenericSp2nHMCRunnerHirep<TheRepresentations, MinimumNorm2>
|
||||||
|
HMCWrapper;
|
||||||
typedef SpWilsonTwoIndexAntiSymmetricImplR FermionImplPolicy;
|
typedef SpWilsonTwoIndexAntiSymmetricImplR FermionImplPolicy;
|
||||||
typedef SpWilsonTwoIndexAntiSymmetricFermionR FermionAction;
|
typedef SpWilsonTwoIndexAntiSymmetricFermionR FermionAction;
|
||||||
typedef typename FermionAction::FermionField FermionField;
|
typedef typename FermionAction::FermionField FermionField;
|
||||||
@ -48,12 +51,10 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
RealD mass = -0.115;
|
RealD mass = -0.115;
|
||||||
|
|
||||||
|
|
||||||
std::vector<Complex> boundary = {-1, -1, -1, -1};
|
std::vector<Complex> boundary = {-1, -1, -1, -1};
|
||||||
FermionAction::ImplParams bc(boundary);
|
FermionAction::ImplParams bc(boundary);
|
||||||
FermionAction FermOp(U, *GridPtr, *GridRBPtr, mass, bc);
|
FermionAction FermOp(U, *GridPtr, *GridRBPtr, mass, bc);
|
||||||
|
|
||||||
|
|
||||||
ConjugateGradient<FermionField> CG(1.0e-8, 2000, false);
|
ConjugateGradient<FermionField> CG(1.0e-8, 2000, false);
|
||||||
|
|
||||||
TwoFlavourPseudoFermionAction<FermionImplPolicy> Nf2(FermOp, CG, CG);
|
TwoFlavourPseudoFermionAction<FermionImplPolicy> Nf2(FermOp, CG, CG);
|
||||||
@ -76,7 +77,6 @@ int main(int argc, char **argv) {
|
|||||||
TheHMC.ReadCommandLine(argc, argv);
|
TheHMC.ReadCommandLine(argc, argv);
|
||||||
TheHMC.Run();
|
TheHMC.Run();
|
||||||
|
|
||||||
|
|
||||||
Grid_finalize();
|
Grid_finalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user