GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SC_COMPUTE (3)

NAME

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

CONTENTS

Synopsis

SYNOPSIS

#include <compute.h>

Inherited by sc::Function.

    Public Member Functions

    virtual void obsolete ()
Marks all results as being out of date.

    Protected Member Functions

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

    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

virtual 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::MBPT2, sc::BatchElectronDensity, sc::MBPT2_R12, sc::SCF, sc::TaylorMolecularEnergy, sc::PsiWavefunction, sc::Shape, sc::Volume, sc::ElectronDensity, sc::Orbital, and sc::MP2BasisExtrap.

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::Wavefunction, sc::MBPT2_R12, and sc::SCF.

Referenced by sc::Function::get_x_reference().

Author

Generated automatically by Doxygen for MPQC from the source code.

Search for    or go to Top of page |  Section 3 |  Main Index


Version 2.3.1 SC::COMPUTE (3) Sun Apr 3 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.