npt_langevin_isotropic_init

torch_sim.integrators.npt.npt_langevin_isotropic_init(state, model, *, kT, dt, alpha=None, cell_alpha=None, b_tau=None, **_kwargs)[source]

Initialize an NPT Langevin state using logarithmic strain coordinate.

The strain coordinate ε = (1/d)·ln(V/V₀) provides well-scaled dynamics where the conjugate force F_ε = d·V·(P_avg - P_ext) is in energy units.

Parameters:
Returns:

Initialized state with ε = 0

Return type:

NPTLangevinIsotropicState