rizer.adaptive_models.contract#
Quantities of interest targeted by the adaptive ladder.
Every stage solver and the modeling-error estimator agree on this
vocabulary; validate_qoi() is the single gate a QoI set passes
through before it reaches them. The stage-solver API itself lives on
BasePhysicalModel.
Attributes#
Functions#
|
Validate a QoI set against |
Module Contents#
- rizer.adaptive_models.contract.QOI_VOCABULARY#
- rizer.adaptive_models.contract.QoISet#
- rizer.adaptive_models.contract.validate_qoi(qoi: QoISet) QoISet#
Validate a QoI set against
QOI_VOCABULARY.- Parameters:
- Returns:
The validated set, unchanged.
- Return type:
- Raises:
ValueError – If a name is not in the vocabulary.