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

Adding metric and the implicit steps

This commit is contained in:
Guido Cossu
2017-02-21 11:30:57 +00:00
parent 97a6b61551
commit 902afcfbaf
8 changed files with 287 additions and 59 deletions

View File

@ -57,7 +57,7 @@ public:
}
template <class ReaderClass>
GridModuleParameters(Reader<ReaderClass>& Reader) {
GridModuleParameters(Reader<ReaderClass>& Reader, std::string n = "LatticeGrid"):name(n) {
read(Reader, name, *this);
check();
}
@ -69,7 +69,7 @@ public:
write(Writer, name, *this);
}
private:
std::string name = "LatticeGrid";
std::string name;
};
// Lower level class
@ -94,7 +94,7 @@ class GridModule {
////////////////////////////////////
// Classes for the user
////////////////////////////////////
// Note: the space time grid must be out of the QCD namespace
// Note: the space time grid should be out of the QCD namespace
template< class vector_type>
class GridFourDimModule : public GridModule {
public: