NVTEnsembleSpec

class jaxrens.cli.schema.ensemble.NVTEnsembleSpec(*, type='nvt')[source]

Bases: BaseEnsembleSpec

Canonical NVT — fixed cell, no ensemble correction (H = U).

The default when ensemble: is omitted entirely. Drop the cell moves (volume / shear / stretch) from moves: here: without a P*V term nothing balances a volume change, and the cell will drift to whichever bound the prior allows.

ensemble:
  type: nvt
Parameters:

type (Literal['nvt'])

to_ensemble_params(*, cohort_index=0)[source]

Return per-run scalar ensemble parameters for cohort_index.

Returns:

Dict of keyword arguments passed to the ensemble backend. Empty for NVT; {"pressure": float} for NPT.

Parameters:

cohort_index (int)

Return type:

dict

model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].