Source code for pysisyphus.calculators.Dummy

from pysisyphus.calculators.Calculator import Calculator


[docs] class Dummy(Calculator):
[docs] def raise_exception(self): raise Exception( "Dummy calculator does not implement any calculation capabilities." )
[docs] def run_calculation(self, *args, **kwargs): self.raise_exception()
[docs] def get_energy(self, *args, **kwargs): self.raise_exception()
[docs] def get_forces(self, *args, **kwargs): self.raise_exception()
[docs] def get_hessian(self, *args, **kwargs): self.raise_exception()