gpridge.integrations.errors¶
Errors raised by the optional engine oracles.
A failed evaluation that the search can reject is not one of these
exceptions at the C buffer boundary: write_oracle and write_force
catch them and write a non-finite energy. evaluate raises them so a
Python caller sees the reason.
Exceptions¶
Base for a rejected geometry, a closed oracle, or a failed evaluation. |
|
Positions, cell, atom order, or fixed-atom data do not match the oracle. |
|
The engine unit style has no conversion into eV and Angstrom. |
|
The oracle has been closed, or a context manager was entered twice. |
|
The engine rejected this geometry and can be called again. |
Module Contents¶
- exception gpridge.integrations.errors.IntegrationError¶
Bases:
ExceptionBase for a rejected geometry, a closed oracle, or a failed evaluation.
- exception gpridge.integrations.errors.GeometryError¶
Bases:
IntegrationErrorPositions, cell, atom order, or fixed-atom data do not match the oracle.
- exception gpridge.integrations.errors.UnsupportedUnits¶
Bases:
IntegrationErrorThe engine unit style has no conversion into eV and Angstrom.
- exception gpridge.integrations.errors.LifecycleError¶
Bases:
IntegrationErrorThe oracle has been closed, or a context manager was entered twice.
- exception gpridge.integrations.errors.EngineEvaluationError¶
Bases:
IntegrationErrorThe engine rejected this geometry and can be called again.