mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-16 06:47:06 +01:00
twist and boundary conditions for free propagator
This commit is contained in:
@ -49,6 +49,7 @@ public:
|
||||
std::string, source,
|
||||
std::string, action,
|
||||
double, mass,
|
||||
std::string , boundary,
|
||||
std::string, twist);
|
||||
};
|
||||
|
||||
@ -172,7 +173,12 @@ void TFreeProp<FImpl>::execute(void)
|
||||
{
|
||||
HADRONS_ERROR(Size, "number of twist angles does not match number of dimensions");
|
||||
}
|
||||
mat.FreePropagator(source,sol,mass,twist);
|
||||
std::vector<Complex> boundary = strToVec<Complex>(par().boundary);
|
||||
if(boundary.size() != Nd)
|
||||
{
|
||||
HADRONS_ERROR(Size, "number of boundary conditions does not match number of dimensions");
|
||||
}
|
||||
mat.FreePropagator(source,sol,mass,boundary,twist);
|
||||
FermToProp<FImpl>(prop, sol, s, c);
|
||||
// create 4D propagators from 5D one if necessary
|
||||
if (Ls_ > 1)
|
||||
|
Reference in New Issue
Block a user