1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

ChargedProp: Switch to HDF5 output

This commit is contained in:
James Harrison 2017-01-26 15:02:30 +00:00
parent ae99e99da2
commit f65a585236

View File

@ -151,7 +151,7 @@ void TChargedProp::execute(void)
LOG(Message) << "Saving zero-momentum projection to '"
<< filename << "'..." << std::endl;
TextWriter writer(filename);
Hdf5Writer writer(filename);
std::vector<TComplex> vecBuf;
std::vector<Complex> result;
@ -161,6 +161,7 @@ void TChargedProp::execute(void)
{
result[t] = TensorRemove(vecBuf[t]);
}
write(writer, "charge", q);
write(writer, "prop", result);
}
}