rebase_ensemble_energy¶
- jaxrens.backends.ensemble.rebase_ensemble_energy(energy, cell, species, params_from, params_to)[source]¶
Re-express a stored energy under another run’s ensemble params.
energyisU + ensemble_energy(params_from); the result isU + ensemble_energy(params_to).Uis recovered first and the new terms added after, so for pressure-only params this is exactly(E − P_from·V) + P_to·V.