1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-18 11:44:41 +00:00

QedFVol: New structure for ChargedProp output files

This commit is contained in:
James Harrison
2018-02-01 12:31:32 +00:00
parent 4e0cf0cc28
commit ac3b0ebc58
2 changed files with 56 additions and 47 deletions

View File

@@ -57,6 +57,26 @@ public:
SCALAR_TYPE_ALIASES(SIMPL,);
typedef PhotonR::GaugeField EmField;
typedef PhotonR::GaugeLinkField EmComp;
class Projection: Serializable
{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(Projection,
std::vector<int>, momentum,
std::vector<Complex>, corr,
std::vector<Complex>, corr_0,
std::vector<Complex>, corr_Q,
std::vector<Complex>, corr_Sun,
std::vector<Complex>, corr_Tad);
};
class Result: Serializable
{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(Result,
std::vector<int>, lattice_size,
double, mass,
double, charge,
std::vector<Projection>, projection);
};
public:
// constructor
TChargedProp(const std::string name);