VolumeMoveSpec

class jaxrens.cli.schema.moves.VolumeMoveSpec(*, step_size=0.1, weight=1.0, adaptation_warmup=100, target_acceptance=0.5, name=None, type='volume')[source]

Bases: BaseMoveSpec

Isotropic cell-volume change, co-transforming atom positions.

Required for any NPT run — without it the cell never breathes and the P*V term does no work. step_size is a relative volume scale, not a length, so it is not comparable with the displacement moves.

Bounds come from the cell: section, not from this spec.

moves:
  - {type: volume, step_size: 0.3, weight: 1}

cell:
  max_volume_per_atom: 20.0
  min_volume_per_atom: 0.5
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

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