mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Removed unnecessary function (for getting a parameter)
This commit is contained in:
parent
92e25488f8
commit
86939dbf1a
@ -230,9 +230,6 @@ struct DistilParameters: Serializable {
|
|||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
int getTI( const Environment & env, bool bCalledFromSetup ) const {
|
|
||||||
return ParameterDefault( TI, env.getDim(Tdir), bCalledFromSetup ); }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DISTIL_PARAMETERS_DEFINE( inSetup ) \
|
#define DISTIL_PARAMETERS_DEFINE( inSetup ) \
|
||||||
@ -240,7 +237,7 @@ const int Nt{env().getDim(Tdir)}; \
|
|||||||
const int nvec{par().nvec}; \
|
const int nvec{par().nvec}; \
|
||||||
const int nnoise{par().Distil.nnoise}; \
|
const int nnoise{par().Distil.nnoise}; \
|
||||||
const int tsrc{par().Distil.tsrc}; \
|
const int tsrc{par().Distil.tsrc}; \
|
||||||
const int TI{par().Distil.getTI(env(), inSetup)}; \
|
const int TI{Hadrons::MDistil::DistilParameters::ParameterDefault(par().Distil.TI, Nt, inSetup)}; \
|
||||||
const int LI{Hadrons::MDistil::DistilParameters::ParameterDefault(par().Distil.LI, nvec, inSetup)}; \
|
const int LI{Hadrons::MDistil::DistilParameters::ParameterDefault(par().Distil.LI, nvec, inSetup)}; \
|
||||||
const int SI{Hadrons::MDistil::DistilParameters::ParameterDefault(par().Distil.SI, Ns, inSetup)}; \
|
const int SI{Hadrons::MDistil::DistilParameters::ParameterDefault(par().Distil.SI, Ns, inSetup)}; \
|
||||||
const bool full_tdil{ TI == Nt }; \
|
const bool full_tdil{ TI == Nt }; \
|
||||||
|
Loading…
Reference in New Issue
Block a user