EnergyTerminationSpec¶
- class jaxrens.cli.schema.termination.EnergyTerminationSpec(*, type='energy', min_energy)[source]¶
Bases:
BaseTerminationSpecStop once
E_maxdrops belowmin_energy.In the backend’s own energy units, so the value does not carry across backends or system sizes. Handy as a safety net next to another criterion — the run stops when any of them fires.
termination: - type: prior_mass threshold: 1.e-5 - type: energy min_energy: -1000.0
- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].