[lammps-users] A way to extract values of "fix ave/correlate/long" command

Dear all

I’m trying to calculate a correlation using the "fix ave/correlate/long” command.

The issue that I’m having is the precision of the output is too low (only 6digits) when the “file” keyword used.
After researching, I found that I can access the data internally using python, more specifically, with “extract_fix”.

However, I can’t get this command work with the "fix ave/correlate/long” command.
I checked it with other fixes such as "fix ave/correlate” command, and it works just fine.

I think the issue is related to the logarithmic nature of the "fix ave/correlate/long” command.

I’d appreciate if you can point me out what mistake I’m making.

Using python is not a must.
If there’s a way to access the data with 16 digit precisions, please let me know.

Below is more detailed information of what I’m trying to do.

Best,
Miru

Dear all
Sorry for spamming.
I just re-read the documentation and it states that this fix does not provide access of the internal data.I guess I’d have to modify the code…

Best,
Miru