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