MPQC  3.0.0-alpha
moints_runtime.h
1 //
2 // moints_runtime.h
3 //
4 // Copyright (C) 2008 Edward Valeev
5 //
6 // Author: Edward Valeev <evaleev@vt.edu>
7 // Maintainer: EV
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 _mpqc_src_lib_chemistry_qc_lcao_mointsruntime_h
29 #define _mpqc_src_lib_chemistry_qc_lcao_mointsruntime_h
30 
31 #include <chemistry/qc/lcao/tbint_runtime.h>
32 #include <chemistry/qc/lcao/df_runtime.h>
33 
34 namespace sc {
35 
39  class MOIntsRuntime : virtual public SavableState {
40  public:
41  typedef MOIntsRuntime this_type;
42 
46  ~MOIntsRuntime();
49 
51  void obsolete();
52 
54  const Ref<MOIntsTransformFactory>& factory() const { return factory_; }
56  const Ref<DensityFittingParams>& dfparams() const { return dfparams_; }
58  const Ref<DensityFittingRuntime>& runtime_df() const { return runtime_df_; }
60  const Ref<TwoBodyTwoCenterMOIntsRuntime>& runtime_2c() const { return runtime_2c_; }
62  const Ref<TwoBodyThreeCenterMOIntsRuntime>& runtime_3c() const { return runtime_3c_; }
64  const Ref<TwoBodyFourCenterMOIntsRuntime>& runtime_4c() const { return runtime_4c_; }
65 
66  private:
67  static ClassDesc class_desc_;
68 
70  Ref<DensityFittingParams> dfparams_;
72  Ref<DensityFittingRuntime> runtime_df_;
76  };
77 
79 
80 } // end of namespace sc
81 
82 #endif /* end of header guard */
83 
84 // Local Variables:
85 // mode: c++
86 // c-file-style: "CLJ-CONDENSED"
87 // End:
sc::MOIntsRuntime::MOIntsRuntime
MOIntsRuntime(const Ref< MOIntsTransformFactory > &factory, const Ref< DensityFittingParams > &dfparams=0)
give density fitting basis to enable density fitting, when possible
sc::MOIntsRuntime::runtime_2c
const Ref< TwoBodyTwoCenterMOIntsRuntime > & runtime_2c() const
runtime for 2-body 2-center integrals
Definition: moints_runtime.h:60
sc::MOIntsRuntime::runtime_df
const Ref< DensityFittingRuntime > & runtime_df() const
runtime for density fitting matrices. Returns null if density fitting basis was not given.
Definition: moints_runtime.h:58
sc::Ref
A template class that maintains references counts.
Definition: ref.h:361
sc::MOIntsRuntime
MOIntsRuntime provides runtime support for computing 1-body and 2-body (2-, 3-, and 4-center) MO-basi...
Definition: moints_runtime.h:39
sc::MOIntsRuntime::factory
const Ref< MOIntsTransformFactory > & factory() const
factory for creating AO->MO transforms for 2-body integrals
Definition: moints_runtime.h:54
sc::MOIntsRuntime::runtime_4c
const Ref< TwoBodyFourCenterMOIntsRuntime > & runtime_4c() const
runtime for 2-body 4-center integrals
Definition: moints_runtime.h:64
sc::MOIntsRuntime::runtime_3c
const Ref< TwoBodyThreeCenterMOIntsRuntime > & runtime_3c() const
runtime for 2-body 3-center integrals
Definition: moints_runtime.h:62
sc::StateIn
Definition: statein.h:79
sc::ClassDesc
This class is used to contain information about classes.
Definition: class.h:147
sc::MOIntsRuntime::dfparams
const Ref< DensityFittingParams > & dfparams() const
density fitting parameters
Definition: moints_runtime.h:56
sc::StateOut
Definition: stateout.h:71
sc::MOIntsRuntime::obsolete
void obsolete()
obsoletes this object
sc::MOIntsRuntime::save_data_state
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
sc::SavableState
Base class for objects that can save/restore state.
Definition: state.h:45
sc
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14

Generated at Sun Jan 26 2020 23:23:58 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.