28 #ifndef _mpqc_src_lib_chemistry_qc_lcao_wfnworld_h
29 #define _mpqc_src_lib_chemistry_qc_lcao_wfnworld_h
31 #include <chemistry/qc/wfn/wfn.h>
32 #include <chemistry/qc/lcao/moints_runtime.h>
33 #include <chemistry/qc/lcao/fockbuild_runtime.h>
41 #ifdef MPQC_NEW_FEATURES
43 #endif // MPQC_NEW_FEATURES
47 static const int USE_NEW_ORBITALSPACE_KEYS = 1;
138 #ifdef MPQC_NEW_FEATURES
139 virtual boost::property_tree::ptree& write_xml(boost::property_tree::ptree& parent,
const XMLWriter& writer);
140 #endif // MPQC_NEW_FEATURES
155 void ints_method(
const StoreMethod::type method) { ints_method_ = method; };
158 void ints_file(
const std::string& filename) { ints_file_ = filename; };
161 void set_wfn(Wavefunction* w);
163 bool df()
const {
return df_; }
164 const Ref<GaussianBasisSet>& basis_df()
const {
return bs_df_; };
166 const Ref<MemoryGrp>& mem()
const {
return mem_;};
167 const Ref<MessageGrp>& msg()
const {
return msg_;};
168 const Ref<ThreadGrp>& thr()
const {
return thr_;};
169 Ref<Integral> integral()
const {
return wfn()->
integral(); }
171 bool dynamic()
const {
return dynamic_; };
174 StoreMethod::type
ints_method()
const {
return ints_method_; };
176 double ints_precision()
const {
return ints_precision_; }
188 void print(std::ostream& o)
const;
191 void initialize_ao_spaces();
195 #ifdef MPQC_NEW_FEATURES
196 void xml_data_local(
bool do_integrals, boost::property_tree::ptree& pt,
const XMLWriter& writer);
197 void xml_data_nonlocal(
bool do_integrals, boost::property_tree::ptree& pt,
const XMLWriter& writer);
198 #endif // MPQC_NEW_FEATURES
204 std::string df_kernel_;
207 std::string df_solver_;
211 #ifdef MPQC_NEW_FEATURES
218 std::vector<_XMLOutputData> out_data_;
219 #endif // MPQC_NEW_FEATURES
222 double print_percent_;
224 StoreMethod::type ints_method_;
225 std::string ints_file_;
226 double ints_precision_;
228 bool df_local_coulomb_;
229 bool df_local_exchange_;
234 Ref<MOIntsTransformFactory> tfactory_;
236 Ref<MOIntsRuntime> moints_runtime_;
238 Ref<FockBuildRuntime> fockbuild_runtime_;
243 static std::pair<TwoBodyOperSet::type, Ref<IntParams> > init_df_kernel(std::string kernel_key);
249 #endif // end of header guard
void print_percent(double print_percent)
Sets how frequently updates of progress are printed out. Default is 10%.
Definition: wfnworld.h:150
void ints_file(const std::string &filename)
Sets name of the file used to store transformed integrals.
Definition: wfnworld.h:158
type
Definition: operator.h:344
A template class that maintains references counts.
Definition: ref.h:361
Ref< Integral > integral()
Returns the integral evaluator.
const Ref< MOIntsRuntime > & moints_runtime() const
Returns the MOIntsRuntime object.
Definition: wfnworld.h:181
const Ref< FockBuildRuntime > & fockbuild_runtime() const
Returns the FockBuildRuntime object that can build Fock matrices.
Definition: wfnworld.h:185
A Wavefunction is a MolecularEnergy that utilizies a GaussianBasisSet.
Definition: wfn.h:52
void print(std::ostream &o) const
Print the object.
MOIntsTransform::StoreMethod StoreMethod
Describes the method of storing transformed MO integrals.
Definition: wfnworld.h:52
Definition: stateout.h:71
Definition: xmlwriter.h:215
void obsolete()
obsoletes this object every wavefunction that owns a WavefunctionWorld must call this method when it'...
void debug_level(int debug)
Set debug level. Default is 0.
Definition: wfnworld.h:152
void dynamic(bool dynamic)
Sets whether to use dynamic load balancing in parallel MO transformations.
Definition: wfnworld.h:148
void ints_method(const StoreMethod::type method)
Sets the method of storing transformed MO integrals.
Definition: wfnworld.h:155
const Ref< MOIntsTransformFactory > & tfactory() const
Returns the MOIntsTransformFactory object.
Definition: wfnworld.h:179
Base class for objects that can save/restore state.
Definition: state.h:45
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
Class WavefunctionWorld describes the environment of a Wavefunction.
Definition: wfnworld.h:40
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
Generated at Sun Jan 26 2020 23:23:58 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.