mstk.analyzer.vle.N_vaporize_condense¶
- mstk.analyzer.vle.N_vaporize_condense(phases)¶
Check how many times one molecules have vaporized or condensed
- Parameters:
phases (list of str) – The time evolution of the phase one molecule stayed in. The elements in this list can only be ‘l’, ‘i’ or ‘g’, which means liquid, interface and gas phase.
- Returns:
N_vapor (int) – Times of vaporization (transit from liquid to gas phase)
N_condense (int) – Times of condensation (transit from gas to liquid phase)