MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
sc::RefBase Class Referenceabstract

Provides a few utility routines common to all Ref template instantiations. More...

#include <util/ref/ref.h>

Inheritance diagram for sc::RefBase:
sc::Ref< sc::Wavefunction > sc::Ref< sc::DistArray4 > sc::Ref< sc::RDM > sc::Ref< DiagSCMatrix > sc::Ref< SCDimension > sc::Ref< SCMatrix > sc::Ref< SCVector > sc::Ref< SymmSCMatrix > sc::Ref< mpqc::TA::GEngineBase > sc::Ref< sc::IntegralLibint2 > sc::Ref< mpqc::TA::TiledBasisSet > sc::Ref< mpqc::World > sc::Ref< sc::GaussianBasisSet > sc::Ref< sc::Integral > sc::Ref< sc::ThreadLock > sc::Ref< sc::MessageGrp > sc::Ref< sc::ThreadGrp > sc::Ref< sc::StateRecv > sc::Ref< sc::KeyVal > sc::Ref< sc::CADFCLHF > sc::Ref< sc::TwoBodyTwoCenterInt > sc::Ref< sc::TwoBodyThreeCenterInt > sc::Ref< KeyValValue > sc::Ref< sc::AtomInfo > sc::Ref< sc::Molecule > sc::Ref< sc::SCMatrixKit > sc::Ref< sc::TriangulatedImplicitSurface > sc::Ref< sc::BEMSolvent > sc::Ref< sc::WavefunctionWorld > sc::Ref< sc::ApproximatePairWriter > sc::Ref< sc::MemoryGrp > sc::Ref< sc::R12IntEval > sc::Ref< sc::R12WavefunctionWorld > sc::Ref< sc::SCF > sc::Ref< sc::RegionTimer > sc::Ref< sc::Tensor > sc::Ref< sc::OrbitalSpace > sc::Ref< sc::DenIntegrator > sc::Ref< sc::DenFunctional > sc::Ref< sc::PointGroup > sc::Ref< sc::TwoBodyInt > sc::Ref< sc::TwoBodyDerivInt > sc::Ref< sc::ConsumableResources > sc::Ref< sc::CoreIntsEngine::Engine > sc::Ref< sc::SCExtrapData > sc::Ref< sc::SCExtrapError > sc::Ref< sc::BatchElectronDensity > sc::Ref< sc::TwoBodyMOIntsRuntimeUnion23 > sc::Ref< sc::DensityFittingParams > sc::Ref< sc::DensityFittingRuntime > sc::Ref< sc::Registry > sc::Ref< sc::Int1eV3 > sc::Ref< sc::IntParamsOrigin > sc::Ref< sc::TwoBodyMOIntsRuntime > sc::Ref< sc::SCMatrixBlockList > sc::Ref< sc::FockBuildOp > sc::Ref< sc::HessianUpdate > sc::Ref< sc::OneBodyWavefunction > sc::Ref< sc::Grid > sc::Ref< sc::Vertex > sc::Ref< sc::EfieldDotVectorData > sc::Ref< sc::OrderedOrbitalSpace > sc::Ref< sc::PT2R12 > sc::Ref< sc::ExternMOInfo > sc::Ref< sc::SpinFreeRDM< Two > > sc::Ref< sc::ExternSpinFreeRDMOne > sc::Ref< sc::MolecularEnergy > sc::Ref< Impl > sc::Ref< Params > sc::Ref< sc::FockDistribution > sc::Ref< sc::FockContribution > sc::Ref< sc::PetiteList > sc::Ref< sc::FockBlocks > sc::Ref< sc::FockBuild > sc::Ref< sc::FockBuildAMG > sc::Ref< sc::FockBuildAM > sc::Ref< sc::StateSend > sc::Ref< sc::DensityFittingInfo > sc::Ref< sc::ShellPairsLibint2 > sc::Ref< sc::FJT > sc::Ref< sc::GTOInfo > sc::Ref< sc::FockBuildMatrix > sc::Ref< sc::Units > sc::Ref< sc::MolecularCoor > sc::Ref< sc::FEMO > sc::Ref< sc::Volume > sc::Ref< sc::IntParams > sc::Ref< sc::PointChargeData > sc::Ref< sc::Log2Bounds > sc::Ref< IntegralStorer > sc::Ref< sc::IntCoorGen > sc::Ref< sc::SetIntCoor > sc::Ref< sc::IntCoor > sc::Ref< sc::DescribedClass > sc::Ref< sc::sma2::Data > sc::Ref< sc::SelfConsistentExtrapolation > sc::Ref< sc::sma2::PairMapping > sc::Ref< sc::Function > sc::Ref< sc::SCMatrixDiagBlock > sc::Ref< sc::SCMatrixRectBlock > sc::Ref< sc::SCVectorSimpleBlock > sc::Ref< sc::SCMatrixLTriBlock > sc::Ref< sc::MP2R12Energy > sc::Ref< sc::TwoBodyGrid > sc::Ref< sc::MOIntsTransformFactory > sc::Ref< sc::IntegralSetDescr > sc::Ref< sc::R12EnergyIntermediates > sc::Ref< sc::RefWavefunction > sc::Ref< sc::MachineTopology > sc::Ref< sc::RenderedMolecule > sc::Ref< sc::MolecularFrequencies > sc::Ref< sc::ExternPT2R12 > sc::Ref< sc::AssignedKeyVal > sc::Ref< sc::MolecularHessian > sc::Ref< sc::MolecularGradient > sc::Ref< sc::OBWfnRDMTwo > sc::Ref< sc::OneBodyIntIter > sc::Ref< sc::OneBodyInt > sc::Ref< sc::Int1eLibint2 > sc::Ref< ParamsType > sc::Ref< sc::OneBodyDerivInt > sc::Ref< sc::SOBasis > sc::Ref< sc::Convergence > sc::Ref< sc::LSDACFunctional > sc::Ref< sc::SpinFreeRDM< One > > sc::Ref< sc::ParamsRegistry > sc::Ref< sc::PsiExEnv > sc::Ref< sc::PsiSCF > sc::Ref< sc::PsiInput > sc::Ref< sc::PsiFile11 > sc::Ref< sc::PsiRASCI > sc::Ref< sc::PsiWavefunction > sc::Ref< sc::LineOpt > sc::Ref< sc::CuspConsistentGeminalCoefficient > sc::Ref< sc::R12Amplitudes > sc::Ref< sc::R12Technology::CorrelationFactor > sc::Ref< sc::R12Technology::R12Ansatz > sc::Ref< sc::R12Technology::GeminalDescriptor > sc::Ref< sc::R12Technology > sc::Ref< sc::IntegrationWeight > sc::Ref< sc::RadialIntegrator > sc::Ref< sc::AngularIntegrator > sc::Ref< sc::PopulatedOrbitalSpace > sc::Ref< sc::Material > sc::Ref< sc::Appearance > sc::Ref< sc::Transform > sc::Ref< sc::MoleculeColorizer > sc::Ref< sc::RenderedObject > sc::Ref< sc::SCBlockInfo > sc::Ref< sc::AccumH > sc::Ref< sc::SCMatrixSubblockIter > sc::Ref< sc::SCMatrixBlock > sc::Ref< sc::SavableState > sc::Ref< sc::PrimPairsLibint2 > sc::Ref< sc::RDM< Two > > sc::Ref< sc::RDM< One > > sc::Ref< sc::KeyValValue > sc::Ref< sc::Edge > sc::Ref< sc::TriInterpCoef > sc::Ref< sc::Triangle > sc::Ref< sc::TriangleIntegrator > sc::Ref< sc::TriangulatedSurface > sc::Ref< sc::Int2eLibint2 > sc::Ref< sc::Int2eV3 > sc::Ref< TwoBodyIntEval > sc::Ref< sc::TensorIndexRangeIterator > sc::Ref< sc::TwoBodyOperSetDescr > sc::Ref< sc::TwoBodyMOIntsTransform > sc::Ref< sc::TwoBodyThreeCenterMOIntsTransform_ijR > sc::Ref< sc::TwoBodyTwoCenterIntIter > sc::Ref< sc::Shape > sc::Ref< sc::OverlapOrthog > sc::Ref< sc::MOIntsRuntime > sc::Ref< sc::FockBuildRuntime > sc::Ref< sc::SymmSCMatrix > sc::Ref< sc::XMLWritable > sc::Ref< sc::XMLWriter > sc::Ref< T >

Public Member Functions

virtual RefCountparentpointer () const =0
 Returns the DescribedClass pointer for the contained object.
 
void require_nonnull () const
 Requires that a nonnull reference is held.
 

Protected Member Functions

void warn (const char *msg) const
 Print a warning message.
 
void warn_ref_to_stack () const
 Called when stack data is referenced.
 
void warn_skip_stack_delete () const
 Called when the deletion of stack data is skipped.
 
void warn_bad_ref_count () const
 Called when the reference count is corrupted.
 
void ref_info (RefCount *p, std::ostream &os) const
 Print information about the reference.
 
void ref_info (std::ostream &os) const
 
void check_pointer () const
 
void reference (RefCount *)
 
int dereference (RefCount *)
 

Detailed Description

Provides a few utility routines common to all Ref template instantiations.

Member Function Documentation

◆ parentpointer()

virtual RefCount * sc::RefBase::parentpointer ( ) const
pure virtual

Returns the DescribedClass pointer for the contained object.

Implemented in sc::Ref< T >, sc::Ref< DiagSCMatrix >, sc::Ref< Impl >, sc::Ref< IntegralStorer >, sc::Ref< KeyValValue >, sc::Ref< mpqc::TA::GEngineBase >, sc::Ref< mpqc::TA::TiledBasisSet >, sc::Ref< mpqc::World >, sc::Ref< Params >, sc::Ref< ParamsType >, sc::Ref< sc::AccumH >, sc::Ref< sc::AngularIntegrator >, sc::Ref< sc::Appearance >, sc::Ref< sc::ApproximatePairWriter >, sc::Ref< sc::AssignedKeyVal >, sc::Ref< sc::AtomInfo >, sc::Ref< sc::BatchElectronDensity >, sc::Ref< sc::BEMSolvent >, sc::Ref< sc::CADFCLHF >, sc::Ref< sc::ConsumableResources >, sc::Ref< sc::Convergence >, sc::Ref< sc::CoreIntsEngine::Engine >, sc::Ref< sc::CuspConsistentGeminalCoefficient >, sc::Ref< sc::DenFunctional >, sc::Ref< sc::DenIntegrator >, sc::Ref< sc::DensityFittingInfo >, sc::Ref< sc::DensityFittingParams >, sc::Ref< sc::DensityFittingRuntime >, sc::Ref< sc::DescribedClass >, sc::Ref< sc::DistArray4 >, sc::Ref< sc::Edge >, sc::Ref< sc::EfieldDotVectorData >, sc::Ref< sc::ExternMOInfo >, sc::Ref< sc::ExternPT2R12 >, sc::Ref< sc::ExternSpinFreeRDMOne >, sc::Ref< sc::FEMO >, sc::Ref< sc::FJT >, sc::Ref< sc::FockBlocks >, sc::Ref< sc::FockBuild >, sc::Ref< sc::FockBuildAM >, sc::Ref< sc::FockBuildAMG >, sc::Ref< sc::FockBuildMatrix >, sc::Ref< sc::FockBuildOp >, sc::Ref< sc::FockBuildRuntime >, sc::Ref< sc::FockContribution >, sc::Ref< sc::FockDistribution >, sc::Ref< sc::Function >, sc::Ref< sc::GaussianBasisSet >, sc::Ref< sc::Grid >, sc::Ref< sc::GTOInfo >, sc::Ref< sc::HessianUpdate >, sc::Ref< sc::Int1eLibint2 >, sc::Ref< sc::Int1eV3 >, sc::Ref< sc::Int2eLibint2 >, sc::Ref< sc::Int2eV3 >, sc::Ref< sc::IntCoor >, sc::Ref< sc::IntCoorGen >, sc::Ref< sc::Integral >, sc::Ref< sc::IntegralLibint2 >, sc::Ref< sc::IntegralSetDescr >, sc::Ref< sc::IntegrationWeight >, sc::Ref< sc::IntParams >, sc::Ref< sc::IntParamsOrigin >, sc::Ref< sc::KeyVal >, sc::Ref< sc::KeyValValue >, sc::Ref< sc::LineOpt >, sc::Ref< sc::Log2Bounds >, sc::Ref< sc::LSDACFunctional >, sc::Ref< sc::MachineTopology >, sc::Ref< sc::Material >, sc::Ref< sc::MemoryGrp >, sc::Ref< sc::MessageGrp >, sc::Ref< sc::MOIntsRuntime >, sc::Ref< sc::MOIntsTransformFactory >, sc::Ref< sc::MolecularCoor >, sc::Ref< sc::MolecularEnergy >, sc::Ref< sc::MolecularFrequencies >, sc::Ref< sc::MolecularGradient >, sc::Ref< sc::MolecularHessian >, sc::Ref< sc::Molecule >, sc::Ref< sc::MoleculeColorizer >, sc::Ref< sc::MP2R12Energy >, sc::Ref< sc::OBWfnRDMTwo >, sc::Ref< sc::OneBodyDerivInt >, sc::Ref< sc::OneBodyInt >, sc::Ref< sc::OneBodyIntIter >, sc::Ref< sc::OneBodyWavefunction >, sc::Ref< sc::OrbitalSpace >, sc::Ref< sc::OrderedOrbitalSpace >, sc::Ref< sc::OverlapOrthog >, sc::Ref< sc::ParamsRegistry >, sc::Ref< sc::PetiteList >, sc::Ref< sc::PointChargeData >, sc::Ref< sc::PointGroup >, sc::Ref< sc::PopulatedOrbitalSpace >, sc::Ref< sc::PrimPairsLibint2 >, sc::Ref< sc::PsiExEnv >, sc::Ref< sc::PsiFile11 >, sc::Ref< sc::PsiInput >, sc::Ref< sc::PsiRASCI >, sc::Ref< sc::PsiSCF >, sc::Ref< sc::PsiWavefunction >, sc::Ref< sc::PT2R12 >, sc::Ref< sc::R12Amplitudes >, sc::Ref< sc::R12EnergyIntermediates >, sc::Ref< sc::R12IntEval >, sc::Ref< sc::R12Technology >, sc::Ref< sc::R12Technology::CorrelationFactor >, sc::Ref< sc::R12Technology::GeminalDescriptor >, sc::Ref< sc::R12Technology::R12Ansatz >, sc::Ref< sc::R12WavefunctionWorld >, sc::Ref< sc::RadialIntegrator >, sc::Ref< sc::RDM >, sc::Ref< sc::RDM< One > >, sc::Ref< sc::RDM< Two > >, sc::Ref< sc::RefWavefunction >, sc::Ref< sc::RegionTimer >, sc::Ref< sc::Registry >, sc::Ref< sc::RenderedMolecule >, sc::Ref< sc::RenderedObject >, sc::Ref< sc::SavableState >, sc::Ref< sc::SCBlockInfo >, sc::Ref< sc::SCExtrapData >, sc::Ref< sc::SCExtrapError >, sc::Ref< sc::SCF >, sc::Ref< sc::SCMatrixBlock >, sc::Ref< sc::SCMatrixBlockList >, sc::Ref< sc::SCMatrixDiagBlock >, sc::Ref< sc::SCMatrixKit >, sc::Ref< sc::SCMatrixLTriBlock >, sc::Ref< sc::SCMatrixRectBlock >, sc::Ref< sc::SCMatrixSubblockIter >, sc::Ref< sc::SCVectorSimpleBlock >, sc::Ref< sc::SelfConsistentExtrapolation >, sc::Ref< sc::SetIntCoor >, sc::Ref< sc::Shape >, sc::Ref< sc::ShellPairsLibint2 >, sc::Ref< sc::sma2::Data >, sc::Ref< sc::sma2::PairMapping >, sc::Ref< sc::SOBasis >, sc::Ref< sc::SpinFreeRDM< One > >, sc::Ref< sc::SpinFreeRDM< Two > >, sc::Ref< sc::StateRecv >, sc::Ref< sc::StateSend >, sc::Ref< sc::SymmSCMatrix >, sc::Ref< sc::Tensor >, sc::Ref< sc::TensorIndexRangeIterator >, sc::Ref< sc::ThreadGrp >, sc::Ref< sc::ThreadLock >, sc::Ref< sc::Transform >, sc::Ref< sc::Triangle >, sc::Ref< sc::TriangleIntegrator >, sc::Ref< sc::TriangulatedImplicitSurface >, sc::Ref< sc::TriangulatedSurface >, sc::Ref< sc::TriInterpCoef >, sc::Ref< sc::TwoBodyDerivInt >, sc::Ref< sc::TwoBodyGrid >, sc::Ref< sc::TwoBodyInt >, sc::Ref< sc::TwoBodyMOIntsRuntime >, sc::Ref< sc::TwoBodyMOIntsRuntimeUnion23 >, sc::Ref< sc::TwoBodyMOIntsTransform >, sc::Ref< sc::TwoBodyOperSetDescr >, sc::Ref< sc::TwoBodyThreeCenterInt >, sc::Ref< sc::TwoBodyThreeCenterMOIntsTransform_ijR >, sc::Ref< sc::TwoBodyTwoCenterInt >, sc::Ref< sc::TwoBodyTwoCenterIntIter >, sc::Ref< sc::Units >, sc::Ref< sc::Vertex >, sc::Ref< sc::Volume >, sc::Ref< sc::Wavefunction >, sc::Ref< sc::WavefunctionWorld >, sc::Ref< sc::XMLWritable >, sc::Ref< sc::XMLWriter >, sc::Ref< SCDimension >, sc::Ref< SCMatrix >, sc::Ref< SCVector >, sc::Ref< SymmSCMatrix >, and sc::Ref< TwoBodyIntEval >.

◆ require_nonnull()

void sc::RefBase::require_nonnull ( ) const

Requires that a nonnull reference is held.

If not, the program will abort.


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

Generated at Wed Sep 25 2024 02:45:35 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.