Files
PINA/pina/condition/condition_interface.py
Nicola Demo 5245a0b68c refact
2025-03-19 17:46:33 +01:00

15 lines
331 B
Python

from abc import ABCMeta, abstractmethod
class ConditionInterface(metaclass=ABCMeta):
@abstractmethod
def residual(self, model):
"""
Compute the residual of the condition.
:param model: The model to evaluate the condition.
:return: The residual of the condition.
"""
pass