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
sc::SavableState(3) MPQC sc::SavableState(3)

sc::SavableState - Base class for objects that can save/restore state.

#include <state.h>

Inherits sc::DescribedClass.

Inherited by sc::AccumH [virtual], sc::AngularIntegrator [virtual], sc::AtomInfo , sc::Convergence [virtual], sc::Debugger, sc::DenFunctional [virtual], sc::DenIntegrator [virtual], sc::Function [virtual], sc::GaussianBasisSet, sc::GaussianShell, sc::HessianUpdate [virtual], sc::IntCoor, sc::IntCoorGen, sc::Integral, sc::IntegrationWeight [virtual], sc::MOIndexSpace [virtual], sc::MOIntsTransformFactory [virtual], sc::MP2R12Energy [virtual], sc::MolecularCoor , sc::MolecularFrequencies, sc::MolecularHessian [virtual], sc::Molecule , sc::Optimize [virtual], sc::OverlapOrthog [virtual], sc::PointGroup, sc::R12IntEval [virtual], sc::R12IntEvalInfo [virtual], sc::R12IntsAcc [virtual], sc::RadialIntegrator [virtual], sc::SCBlockInfo , sc::SCDimension, sc::SCElementOp, sc::SCElementOp2, sc::SCElementOp3, sc::SCExtrapData, sc::SCExtrapError, sc::SCMatrixBlock, sc::SCMatrixBlockList, sc::SelfConsistentExtrapolation , sc::SetIntCoor, sc::ShellPairCints [virtual], sc::ShellPairsCints [virtual], sc::TwoBodyGrid [virtual], sc::TwoBodyMOIntsTransform [virtual], and sc::Units.


SavableState & operator= (const SavableState &)
void save_state (StateOut &)
Save the state of the object as specified by the StateOut object. void save_object_state (StateOut &)
This can be used for saving state when the exact type of the object is known for both the save and the restore. virtual void save_vbase_state (StateOut &)
Save the virtual bases for the object. virtual void save_data_state (StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.


static void save_state (SavableState *s, StateOut &)
static SavableState * restore_state (StateIn &si)
Restores objects saved with save_state. static SavableState * key_restore_state (StateIn &si, const char *keyword)
Like restore_state, but keyword is used to override values while restoring. static SavableState * dir_restore_state (StateIn &si, const char *objectname, const char *keyword=0)


SavableState (const SavableState &)
SavableState (StateIn &)
Each derived class StateIn CTOR handles the restore corresponding to calling save_object_state, save_vbase_state, and save_data_state listed above.

Base class for objects that can save/restore state.

Each derived class StateIn CTOR handles the restore corresponding to calling save_object_state, save_vbase_state, and save_data_state listed above. All derived class StateIn& constructors must invoke the SavableState(StateIn&) constructor.

Restores objects saved with save_state. The exact type of the next object in si can be any type publically derived from the SavableState. Derived classes implement a similar static function that returns a pointer to the derived class. If the objectname is given the directory will be consulted to find and restore that object.

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.

Reimplemented in sc::IntCoor, sc::SumIntCoor, sc::SetIntCoor, sc::IntCoorGen, sc::MolecularCoor, sc::IntMolecularCoor, sc::SymmMolecularCoor, sc::RedundMolecularCoor, sc::CartMolecularCoor, sc::MolecularEnergy, sc::SumMolecularEnergy, sc::MolEnergyConvergence, sc::FinDispMolecularHessian, sc::MolecularHessian, sc::ReadMolecularHessian, sc::GuessMolecularHessian, sc::DiagMolecularHessian, sc::Molecule, sc::MolecularFrequencies, sc::SimpleCo, sc::TaylorMolecularEnergy, sc::GaussianBasisSet, sc::GaussianShell, sc::Integral, sc::OverlapOrthog, sc::IntegralCints, sc::ShellPairCints, sc::ShellPairsCints, sc::CLKS, sc::DenFunctional, sc::NElFunctional, sc::SumDenFunctional, sc::StdDenFunctional, sc::LSDACFunctional, sc::PBECFunctional, sc::PW91CFunctional, sc::P86CFunctional, sc::NewP86CFunctional, sc::SlaterXFunctional, sc::VWNLCFunctional, sc::VWN1LCFunctional, sc::VWN2LCFunctional, sc::VWN3LCFunctional, sc::VWN4LCFunctional, sc::VWN5LCFunctional, sc::PW92LCFunctional, sc::PZ81LCFunctional, sc::XalphaFunctional, sc::Becke88XFunctional, sc::LYPCFunctional, sc::PW86XFunctional, sc::PBEXFunctional, sc::PW91XFunctional, sc::mPW91XFunctional, sc::G96XFunctional, sc::HSOSKS, sc::DenIntegrator, sc::IntegrationWeight, sc::BeckeIntegrationWeight, sc::RadialIntegrator, sc::AngularIntegrator, sc::EulerMaclaurinRadialIntegrator, sc::LebedevLaikovIntegrator, sc::GaussLegendreAngularIntegrator, sc::RadialAngularIntegrator, sc::UKS, sc::IntegralCCA, sc::IntegralV3, sc::MBPT2, sc::MP2BasisExtrap, sc::MBPT2_R12, sc::MOIndexSpace, sc::MP2R12Energy, sc::R12IntsAcc, sc::R12IntsAcc_MemoryGrp, sc::R12IntsAcc_MPIIOFile, sc::R12IntsAcc_MPIIOFile_Ind, sc::R12IntsAcc_Node0File, sc::R12IntEval, sc::MOIntsTransformFactory, sc::TwoBodyMOIntsTransform_ijxy, sc::TwoBodyMOIntsTransform_ikjy, sc::TwoBodyMOIntsTransform_ixjy, sc::TwoBodyMOIntsTransform, sc::TwoBodyGrid, sc::R12IntEvalInfo, sc::PsiWavefunction, sc::PsiSCF, sc::PsiCCSD, sc::PsiCCSD_T, sc::CLHF, sc::CLSCF, sc::HSOSHF, sc::HSOSSCF, sc::OSSHF, sc::OSSSCF, sc::SCF, sc::TCHF, sc::TCSCF, sc::UHF, sc::UnrestrictedSCF, sc::AccumH, sc::AccumHNull, sc::SumAccumH, sc::ExtendedHuckelWfn, sc::OneBodyWavefunction, sc::HCoreWfn, sc::BEMSolventH, sc::Wavefunction, sc::Convergence, sc::DIIS, sc::EFCOpt, sc::Function, sc::GDIISOpt, sc::NewtonOpt, sc::Optimize, sc::LineOpt, sc::QNewtonOpt, sc::SCExtrapData, sc::SCExtrapError, sc::SelfConsistentExtrapolation, sc::SymmSCMatrixSCExtrapData, sc::SymmSCMatrix2SCExtrapData, sc::SymmSCMatrix4SCExtrapData, sc::SymmSCMatrixNSCExtrapData, sc::SymmSCMatrixSCExtrapError, sc::SteepestDescentOpt, sc::HessianUpdate, sc::DFPUpdate, sc::BFGSUpdate, sc::PowellUpdate, sc::SCMatrixBlockList, sc::SCVectorSimpleBlock, sc::SCVectorSimpleSubBlock, sc::SCMatrixRectBlock, sc::SCMatrixRectSubBlock, sc::SCMatrixLTriBlock, sc::SCMatrixLTriSubBlock, sc::SCMatrixDiagBlock, sc::SCMatrixDiagSubBlock, sc::SCBlockInfo, sc::SCDimension, sc::SCElementScalarProduct, sc::SCDestructiveElementProduct, sc::SCElementScale, sc::SCElementRandomize, sc::SCElementAssign, sc::SCElementSquareRoot, sc::SCElementInvert, sc::SCElementScaleDiagonal, sc::SCElementShiftDiagonal, sc::SCElementMaxAbs, sc::SCElementMinAbs, sc::SCElementSumAbs, sc::SCElementKNorm, sc::SCElementDot, sc::Debugger, sc::AtomInfo, sc::SCMatrixBlock, sc::Units, and sc::PointGroup.

This can be used for saving state when the exact type of the object is known for both the save and the restore. To restore objects saved in this way the user must directly invoke the object's StateIn& constructor.

Save the state of the object as specified by the StateOut object. This routine saves the state of the object (which includes the nonvirtual bases), the virtual bases, and type information. The default implementation should be adequate.

Save the virtual bases for the object. This must be done in the same order that the ctor initializes the virtual bases. This does not include the DescribedClass and SavableState virtual base classes. This must be implemented by the user if the class has other virtual bases. (These virtual bases must come after SavableState, if SavableState is virtual.)

Generated automatically by Doxygen for MPQC from the source code.
Tue Jun 7 2022 Version 2.3.1

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

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