Cross-correlation

Hi all,

Is there a fix in LAMMPS that allows us to compute cross-correlation functions?

I am trying to compute the cross-correlation of for example the velocity at time t with the energy flux [v_x(t)*J_x(0)].

The closest fix is the ave/correlate command but my understanding is it does not do cross correlation.

Best,
Antoine

Hi all,

Is there a fix in LAMMPS that allows us to compute cross-correlation functions?

nope.

I am trying to compute the cross-correlation of for example the velocity at time t with the energy flux [v_x(t)*J_x(0)].

The closest fix is the ave/correlate command but my understanding is it does not do cross correlation.

indeed. but it may be possible to change the source code of this fix
to become ave/crosscorrelate.

axel.

That’s what I thought.

Thank you Axel.

Antoine.