1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-12 19:27:05 +01:00

Part-way through release tidy-up

This commit is contained in:
Michael Marshall
2019-04-29 18:40:38 +01:00
parent ac19c0e04f
commit 4203105104
3 changed files with 189 additions and 193 deletions

View File

@ -47,6 +47,9 @@
/******************************************************************************
A consistent set of cross-platform methods for big endian <-> host byte ordering
I imagine this exists already?
RELEASE NOTE:
******************************************************************************/
#if defined(__linux__)
@ -589,6 +592,20 @@ void NamedTensor<Scalar_, NumIndices_, Endian_Scalar_Size>::read(const char * fi
template<typename Scalar_, int NumIndices_, uint16_t Endian_Scalar_Size = sizeof(Scalar_)>
using Perambulator = NamedTensor<Scalar_, NumIndices_, Endian_Scalar_Size>;
struct DistilParameters: Serializable {
GRID_SERIALIZABLE_CLASS_MEMBERS(DistilParameters,
int, TI,
int, LI,
int, nnoise,
int, tsrc,
int, SI,
int, Ns,
int, Nt,
int, Nt_inv)
DistilParameters() = default;
template <class ReaderClass> DistilParameters(Reader<ReaderClass>& Reader){read(Reader,"Distil",*this);}
};
/*************************************************************************************
Rotate eigenvectors into our phase convention
@ -624,21 +641,6 @@ inline void RotateEigen(std::vector<LatticeColourVector> & evec)
}
}
struct DistilParameters: Serializable {
GRID_SERIALIZABLE_CLASS_MEMBERS(DistilParameters,
int, TI,
int, LI,
int, nnoise,
int, tsrc,
int, SI,
int, Ns,
int, Nt,
int, Nt_inv)
DistilParameters() = default;
template <class ReaderClass> DistilParameters(Reader<ReaderClass>& Reader){read(Reader,"Distil",*this);}
};
END_MODULE_NAMESPACE
END_HADRONS_NAMESPACE