- t_3dvec tp; /* thermodynamic pressure dU/dV */
- double dv; /* dV for thermodynamic pressure calc */
+ double tp; /* thermodynamic pressure dU/dV */
+ double tp_sum; /* sum over dU/dV pressure */
+ double tp_avg; /* average value of dU/dV pressure */
+ int tp_cnt; /* how often to do thermodynamic p calc */