MPQC  3.0.0-alpha
sc::Compute Class Referenceabstract

The Compute class provides a means of keeping results up to date. More...

#include <util/misc/compute.h>

Inheritance diagram for sc::Compute:
sc::RDM< One > sc::RDM< Two > sc::RDMCumulant< Two > sc::Function sc::RDM< R > sc::RDMCumulant< R > sc::SpinFreeRDM< R > sc::SpinFreeRDM< One > sc::SpinFreeRDM< Two >

Public Member Functions

virtual bool throw_if_tolerance_exceeded () const
 
virtual void obsolete ()
 Marks all results as being out of date. More...
 

Protected Member Functions

virtual void compute ()=0
 Recompute at least the results that have compute true and are not already computed. More...
 

Friends

class ResultInfo
 
class AccResultInfo
 

Detailed Description

The Compute class provides a means of keeping results up to date.

Derived classes can have member data which is registered with the compute class. When this member data is accessed and it is not available, the compute member function is called. The compute member must be implemented in derived classes and is responsible for computed the requested result.

Member Function Documentation

◆ compute()

◆ obsolete()


The documentation for this class was generated from the following file:

Generated at Sun Jan 26 2020 23:24:04 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.