|
NAMEsc::Compute - The Compute class provides a means of keeping results up to date.SYNOPSIS#include <compute.h> Inherited by sc::Function. Public Member Functionsvirtual void obsolete () Marks all results as being out of date. Protected Member Functionsvirtual void compute ()=0 Recompute at least the results that have compute true and are not already computed. Friendsclass ResultInfo class AccResultInfo Detailed DescriptionThe 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 Documentationvirtual void sc::Compute::compute () [protected], [pure virtual]Recompute at least the results that have compute true and are not already computed. This should only be called by Result's members.Implemented in sc::SumMolecularEnergy, sc::TaylorMolecularEnergy, sc::MBPT2, sc::MP2BasisExtrap, sc::MBPT2_R12, sc::PsiWavefunction, sc::SCF, sc::ElectronDensity, sc::BatchElectronDensity, sc::Orbital, sc::Shape, and sc::Volume. virtual void sc::Compute::obsolete () [virtual]Marks all results as being out of date. Any subsequent access to results will cause Compute::compute() to be called.Reimplemented in sc::MBPT2, sc::MBPT2_R12, sc::SCF, and sc::Wavefunction. Referenced by sc::Function::get_x_reference(). AuthorGenerated automatically by Doxygen for MPQC from the source code.
Visit the GSP FreeBSD Man Page Interface. |