mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Hadrons: code cleaning
This commit is contained in:
		@@ -35,7 +35,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
 | 
			
		||||
BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                         Div                                 *
 | 
			
		||||
 *                       Divergence of a vector field                         *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
BEGIN_MODULE_NAMESPACE(MScalarSUN)
 | 
			
		||||
 | 
			
		||||
@@ -83,7 +83,7 @@ MODULE_REGISTER_NS(DivSU5, TDiv<ScalarNxNAdjImplR<5>>, MScalarSUN);
 | 
			
		||||
MODULE_REGISTER_NS(DivSU6, TDiv<ScalarNxNAdjImplR<6>>, MScalarSUN);
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                 TDiv implementation                             *
 | 
			
		||||
 *                           TDiv implementation                              *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
// constructor /////////////////////////////////////////////////////////////////
 | 
			
		||||
template <typename SImpl>
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,7 @@ Source file: extras/Hadrons/Modules/MScalarSUN/TrKinetic.hpp
 | 
			
		||||
 | 
			
		||||
Copyright (C) 2015-2018
 | 
			
		||||
 | 
			
		||||
Author: Antonin Portelli <antonin.portelli@me.com>
 | 
			
		||||
 | 
			
		||||
This program is free software; you can redistribute it and/or modify
 | 
			
		||||
it under the terms of the GNU General Public License as published by
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
 | 
			
		||||
BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                       Module to compute tr(mag^n)                          *
 | 
			
		||||
 *                     Trace of powers of the magnetisation                   *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
BEGIN_MODULE_NAMESPACE(MScalarSUN)
 | 
			
		||||
 | 
			
		||||
@@ -117,7 +117,7 @@ template <typename SImpl>
 | 
			
		||||
void TTrMag<SImpl>::execute(void)
 | 
			
		||||
{
 | 
			
		||||
    LOG(Message) << "Computing tr(mag^n) for n even up to " << par().maxPow
 | 
			
		||||
                 << "..." << std::endl;
 | 
			
		||||
                 << std::endl;
 | 
			
		||||
 | 
			
		||||
    std::vector<Result> result;
 | 
			
		||||
    auto                &phi = envGet(Field, par().field);
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
 | 
			
		||||
BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                         Module to compute tr(phi^n)                        *
 | 
			
		||||
 *                      Trace of powers of a scalar field                     *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
BEGIN_MODULE_NAMESPACE(MScalarSUN)
 | 
			
		||||
 | 
			
		||||
@@ -136,7 +136,7 @@ template <typename SImpl>
 | 
			
		||||
void TTrPhi<SImpl>::execute(void)
 | 
			
		||||
{
 | 
			
		||||
    LOG(Message) << "Computing tr(phi^n) for n even up to " << par().maxPow
 | 
			
		||||
                 << "..." << std::endl; 
 | 
			
		||||
                 << std::endl; 
 | 
			
		||||
 | 
			
		||||
    std::vector<Result> result;
 | 
			
		||||
    auto                &phi = envGet(Field, par().field);
 | 
			
		||||
 
 | 
			
		||||
@@ -87,7 +87,7 @@ MODULE_REGISTER_NS(TwoPointSU5, TTwoPoint<ScalarNxNAdjImplR<5>>, MScalarSUN);
 | 
			
		||||
MODULE_REGISTER_NS(TwoPointSU6, TTwoPoint<ScalarNxNAdjImplR<6>>, MScalarSUN);
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                 TTwoPoint implementation                             *
 | 
			
		||||
 *                       TTwoPoint implementation                             *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
// constructor /////////////////////////////////////////////////////////////////
 | 
			
		||||
template <typename SImpl>
 | 
			
		||||
 
 | 
			
		||||
@@ -36,8 +36,8 @@ See the full license in the file "LICENSE" in the top level distribution directo
 | 
			
		||||
BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                         LocalCoherenceLanczos                                 *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
 *                    Local coherence Lanczos eigensolver                     *
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
BEGIN_MODULE_NAMESPACE(MSolver)
 | 
			
		||||
 | 
			
		||||
class LocalCoherenceLanczosPar: Serializable
 | 
			
		||||
@@ -98,7 +98,7 @@ MODULE_REGISTER_NS(ZLocalCoherenceLanczos,
 | 
			
		||||
    MSolver);
 | 
			
		||||
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 *                 TLocalCoherenceLanczos implementation                             *
 | 
			
		||||
 *                 TLocalCoherenceLanczos implementation                      *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
// constructor /////////////////////////////////////////////////////////////////
 | 
			
		||||
template <typename FImpl, int nBasis>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user