compute temp/chunk

Two things about ‘compute temp/chunk’. First, in the doc page (http://lammps.sandia.gov/doc/compute_temp_chunk.html), the first mention of the formula for temperature is listed as KE=DOF k T instead of KE=DOF/2 k T. Second, when I try to use the option ‘com yes’ i get a segfault. A test script that generates the error is attached.

-Steven

in.test (566 Bytes)

Fixed the doc page and the segfault bug.

Changes for this and compute temp/prfile are in an 11Apr patch.

I’m thinking

compute temp/chunk with com yes needs the same

dim*Nchunk removal from DOF for the global temp

that you indicated was needed for compute temp/profile?

I.e. make cdof default to -dim for that case?

Thanks,

Steve

Yes, I agree that the same DOF adjustment is needed.