Analytic Base Class

Warning

This class is not designed for standalone use. Instead, it should be inherited by other classes.

class pydmqmc.methods.Analytic(system)

Bases: Method

Base class for analytic calculations.

Parameters:
systemSystem object

The predefined System to run the model with.

Attributes

ran_calculation

Whether or not the calculation has been run.

system

The System object to which this method is applied.

Methods

run()

Ensure calculations are only run once.

run()

Ensure calculations are only run once.

This base method handles a flag to ensure run is only called once. Any other calculations must be defined by the child class.

property ran_calculation

Whether or not the calculation has been run.

property system

The System object to which this method is applied.