mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-06 16:08:05 +01:00
Hadrons: progress on the interface, genetic algorithm freezing
This commit is contained in:
1 parent
a3fe874a5b
commit
514993ed17
14 files changed
+164
-93
No files matched your search
@@ -111,7 +111,7 @@ std::vector<std::string> TPoint<FImpl>::getOutput(void)
|
||||
template <typename FImpl>
|
||||
void TPoint<FImpl>::setup(void)
|
||||
{
|
||||
env().template registerLattice<PropagatorField>(getName());
|
||||
envCreateLat(PropagatorField, getName());
|
||||
}
|
||||
|
||||
// execution ///////////////////////////////////////////////////////////////////
|
||||
@@ -123,7 +123,7 @@ void TPoint<FImpl>::execute(void)
|
||||
|
||||
LOG(Message) << "Creating point source at position [" << par().position
|
||||
<< "]" << std::endl;
|
||||
PropagatorField &src = *env().template createLattice<PropagatorField>(getName());
|
||||
PropagatorField &src = envGet(PropagatorField, getName());
|
||||
id = 1.;
|
||||
src = zero;
|
||||
pokeSite(id, src, position);
|
||||
|
||||
Reference in new issue
Block a user