MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
fbclhf.h
1//
2// fbclhf.h --- definition of the closed shell Hartree-Fock SCF class
3//
4// Copyright (C) 1996 Limit Point Systems, Inc.
5//
6// Author: Edward Seidl <seidl@janed.com>
7// Maintainer: LPS
8//
9// This file is part of the SC Toolkit.
10//
11// The SC Toolkit is free software; you can redistribute it and/or modify
12// it under the terms of the GNU Library General Public License as published by
13// the Free Software Foundation; either version 2, or (at your option)
14// any later version.
15//
16// The SC Toolkit is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19// GNU Library General Public License for more details.
20//
21// You should have received a copy of the GNU Library General Public License
22// along with the SC Toolkit; see the file COPYING.LIB. If not, write to
23// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24//
25// The U.S. Government is granted a limited license as per AL 91-7.
26//
27
28#ifndef _chemistry_qc_scf_fbclhf_h
29#define _chemistry_qc_scf_fbclhf_h
30
31#include <string>
32
33#include <chemistry/qc/scf/clhf.h>
34#include <chemistry/qc/lcao/fockbuild.h>
35#include <chemistry/qc/lcao/wfnworld.h>
36#include <chemistry/qc/lcao/df.h>
37
38namespace sc {
39
40// //////////////////////////////////////////////////////////////////////////
41
43class FockBuildCLHF: public CLHF {
44 protected:
45 Ref<FockDistribution> fockdist_;
47 std::string fockbuildmatrixtype_;
48 void ao_fock(double accuracy);
49 bool prefetch_blocks_;
50 public:
55 void init_threads();
56 void done_threads();
57 void print(std::ostream&o=ExEnv::out0()) const;
58};
59
61class DFCLHF: public CLHF {
62 protected:
63 void ao_fock(double accuracy);
64 void reset_density();
65 public:
82 ~DFCLHF();
84 void print(std::ostream&o=ExEnv::out0()) const;
85 const Ref<WavefunctionWorld>& world() const { return world_; }
87#ifdef MPQC_NEW_FEATURES
88 virtual boost::property_tree::ptree& write_xml(
89 boost::property_tree::ptree& parent, const XMLWriter& writer
90 );
91#endif // MPQC_NEW_FEATURES
92 private:
93 RefSymmSCMatrix gmat_;
95 static ClassDesc cd_;
96#ifdef MPQC_NEW_FEATURES
97 bool xml_debug_ = false;
98#endif
99};
100
101}
102
103#endif
104
105// Local Variables:
106// mode: c++
107// c-file-style: "ETS"
108// End:
CLHF is a Hartree-Fock specialization of CLSCF.
Definition clhf.h:38
This class is used to contain information about classes.
Definition class.h:147
DFCLHF is a specialization of CLHF that uses a density-fitting FockBuild class for computing fock mat...
Definition fbclhf.h:61
Ref< DensityFittingInfo > dfinfo() const
return the DensityFittingInfo object used to implement compute() this is important to be able to reco...
void print(std::ostream &o=ExEnv::out0()) const
Print information about the object.
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
DFCLHF(const Ref< KeyVal > &)
Accepts all keywords of CLHF class + the following keywords:
static std::ostream & out0()
Return an ostream that writes from node 0.
FockBuildCLHF is a specialization of CLHF that uses FockBuild class for computing fock matrices.
Definition fbclhf.h:43
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
void print(std::ostream &o=ExEnv::out0()) const
Print information about the object.
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition matrix.h:265
A template class that maintains references counts.
Definition ref.h:361
Restores fundamental and user-defined types from images created with StateOut.
Definition statein.h:79
Serializes fundamental and user-defined types.
Definition stateout.h:71
Definition xmlwriter.h:223
Contains all MPQC code up to version 3.
Definition mpqcin.h:14

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