mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 13:40:46 +01:00
Hadrons: scalar SU(N) fixes
This commit is contained in:
parent
90f4000935
commit
fcac5c0772
@ -110,7 +110,7 @@ std::vector<std::string> TEMT<SImpl>::getInput(void)
|
|||||||
template <typename SImpl>
|
template <typename SImpl>
|
||||||
std::vector<std::string> TEMT<SImpl>::getOutput(void)
|
std::vector<std::string> TEMT<SImpl>::getOutput(void)
|
||||||
{
|
{
|
||||||
std::vector<std::string> out = {getName()};
|
std::vector<std::string> out;
|
||||||
|
|
||||||
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
||||||
for (unsigned int nu = mu; nu < env().getNd(); ++nu)
|
for (unsigned int nu = mu; nu < env().getNd(); ++nu)
|
||||||
@ -125,7 +125,11 @@ std::vector<std::string> TEMT<SImpl>::getOutput(void)
|
|||||||
template <typename SImpl>
|
template <typename SImpl>
|
||||||
void TEMT<SImpl>::setup(void)
|
void TEMT<SImpl>::setup(void)
|
||||||
{
|
{
|
||||||
envCreateLat(ComplexField, getName());
|
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
||||||
|
for (unsigned int nu = mu; nu < env().getNd(); ++nu)
|
||||||
|
{
|
||||||
|
envCreateLat(ComplexField, varName(getName(), mu, nu));
|
||||||
|
}
|
||||||
envTmpLat(ComplexField, "sumkin");
|
envTmpLat(ComplexField, "sumkin");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ std::vector<std::string> TTransProj<SImpl>::getInput(void)
|
|||||||
template <typename SImpl>
|
template <typename SImpl>
|
||||||
std::vector<std::string> TTransProj<SImpl>::getOutput(void)
|
std::vector<std::string> TTransProj<SImpl>::getOutput(void)
|
||||||
{
|
{
|
||||||
std::vector<std::string> out = {getName()};
|
std::vector<std::string> out;
|
||||||
|
|
||||||
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
||||||
for (unsigned int nu = mu; nu < env().getNd(); ++nu)
|
for (unsigned int nu = mu; nu < env().getNd(); ++nu)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user