Grid
0.7.0
BaseSmearing.h
Go to the documentation of this file.
1
/*************************************************************************************
2
3
Grid physics library, www.github.com/paboyle/Grid
4
5
Source file: ./lib/qcd/modules/plaquette.h
6
7
Copyright (C) 2017
8
9
Author: Guido Cossu <guido.cossu@ed.ac.uk>
10
11
This program is free software; you can redistribute it and/or modify
12
it under the terms of the GNU General Public License as published by
13
the Free Software Foundation; either version 2 of the License, or
14
(at your option) any later version.
15
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License along
22
with this program; if not, write to the Free Software Foundation, Inc.,
23
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24
25
See the full license in the file "LICENSE" in the top level distribution
26
directory
27
*************************************************************************************/
28
/* END LEGAL */
29
/*
30
@brief Declares base smearing class Smear
31
*/
32
#pragma once
33
NAMESPACE_BEGIN
(
Grid
);
34
template
<
class
Gimpl>
35
class
Smear
{
36
public
:
37
INHERIT_GIMPL_TYPES
(Gimpl)
// inherits the types for the gauge fields
38
39
virtual ~
Smear
(){}
40
virtual
void
smear
(GaugeField&,
const
GaugeField&)
const
= 0;
41
virtual
void
derivative
(GaugeField&,
const
GaugeField&,
const
GaugeField&)
const
= 0;
42
};
43
NAMESPACE_END
(
Grid
);
44
INHERIT_GIMPL_TYPES
#define INHERIT_GIMPL_TYPES(GImpl)
Definition
GaugeImplTypes.h:47
NAMESPACE_BEGIN
#define NAMESPACE_BEGIN(A)
Definition
Namespace.h:35
NAMESPACE_END
#define NAMESPACE_END(A)
Definition
Namespace.h:36
Smear
Definition
BaseSmearing.h:35
Smear::smear
virtual void smear(GaugeField &, const GaugeField &) const =0
Smear::derivative
virtual void derivative(GaugeField &, const GaugeField &, const GaugeField &) const =0
Grid
Definition
Deflation.h:31
Grid
qcd
smearing
BaseSmearing.h
Generated by
1.16.1