mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	QED Gimpl moved in Photon.h
This commit is contained in:
		@@ -39,27 +39,6 @@ BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
BEGIN_MODULE_NAMESPACE(MGauge)
 | 
			
		||||
 | 
			
		||||
template <class S>
 | 
			
		||||
class QedGimpl
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
    typedef S Simd;
 | 
			
		||||
    
 | 
			
		||||
    template <typename vtype>
 | 
			
		||||
    using iImplGaugeLink  = iScalar<iScalar<iScalar<vtype>>>;
 | 
			
		||||
    template <typename vtype>
 | 
			
		||||
    using iImplGaugeField = iVector<iScalar<iScalar<vtype>>, Nd>;
 | 
			
		||||
    
 | 
			
		||||
    typedef iImplGaugeLink<Simd> SiteGaugeLink;
 | 
			
		||||
    typedef iImplGaugeField<Simd> SiteGaugeField;
 | 
			
		||||
    
 | 
			
		||||
    typedef Lattice<SiteGaugeLink> GaugeLinkField;
 | 
			
		||||
    typedef Lattice<SiteGaugeField> GaugeField;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
typedef QedGimpl<vComplex> QedGimplR;
 | 
			
		||||
typedef Photon<QedGimplR>  PhotonR;
 | 
			
		||||
 | 
			
		||||
class StochEmPar: Serializable
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
 
 | 
			
		||||
@@ -5,29 +5,7 @@ using namespace Grid;
 | 
			
		||||
using namespace QCD;
 | 
			
		||||
using namespace QedFVol;
 | 
			
		||||
 | 
			
		||||
template <class S> 
 | 
			
		||||
class QedGimpl 
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
  typedef S Simd;
 | 
			
		||||
 | 
			
		||||
  template <typename vtype>
 | 
			
		||||
  using iImplGaugeLink  = iScalar<iScalar<iScalar<vtype>>>;
 | 
			
		||||
  template <typename vtype>
 | 
			
		||||
  using iImplGaugeField = iVector<iScalar<iScalar<vtype>>, Nd>;
 | 
			
		||||
 | 
			
		||||
  typedef iImplGaugeLink<Simd> SiteGaugeLink;
 | 
			
		||||
  typedef iImplGaugeField<Simd> SiteGaugeField;
 | 
			
		||||
 | 
			
		||||
  typedef Lattice<SiteGaugeLink> GaugeLinkField; // bit ugly naming; polarised
 | 
			
		||||
                                                 // gauge field, lorentz... all
 | 
			
		||||
                                                 // ugly
 | 
			
		||||
  typedef Lattice<SiteGaugeField> GaugeField;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
typedef QedGimpl<vComplex>              QedGimplR;
 | 
			
		||||
typedef PeriodicGaugeImpl<QedGimplR>    QedPeriodicGimplR;
 | 
			
		||||
typedef Photon<QedGimplR>               PhotonR;
 | 
			
		||||
typedef PhotonR::GaugeField             EmField;
 | 
			
		||||
typedef PhotonR::GaugeLinkField         EmComp;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user