1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

Adding ScalarField theory

This commit is contained in:
Guido Cossu
2017-01-30 10:59:28 +00:00
parent 6929a84c70
commit f05d0565aa
5 changed files with 102 additions and 54 deletions

View File

@ -269,6 +269,9 @@ private:
// here gauge
Read.push("Action");
do{
// I need to modify the Factory generator depending on the Implementation
// Solution: pass the field as a template parameter
//auto &ActionFactory = HMC_ScalarActionModuleFactory<gauge_string, ReaderClass>::getInstance();
auto &ActionFactory = HMC_LGTActionModuleFactory<gauge_string, ReaderClass>::getInstance();
std::string action_type;
Read.readDefault("name", action_type);

View File

@ -85,6 +85,7 @@ class GridModule {
};
// helpers
// FIXME define a class accepting also real vtypes
class GridFourDimModule : public GridModule {
public:
// add a function to create the module from a Reader