Psi4
cclambda.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
29 #ifndef CCLAMBDA_H
30 #define CCLAMBDA_H
31 
33 
34 namespace psi {
35 class Wavefunction;
36 class Options;
37 }
38 
39 namespace psi { namespace cclambda {
40 
42 {
43 public:
44  CCLambdaWavefunction(std::shared_ptr<Wavefunction> reference_wavefunction, Options &options);
45  virtual ~CCLambdaWavefunction();
46 
47  double compute_energy();
48 
49 private:
50  void init();
51 };
52 
53 }}
54 
55 #endif // CCLAMBDA_H
Options & options() const
Definition: wavefunction.cc:412
Definition: cclambda.h:41
void init()
Definition: cclambda.cc:134
Definition: liboptions.h:355
CCLambdaWavefunction(std::shared_ptr< Wavefunction > reference_wavefunction, Options &options)
Definition: cclambda.cc:120
std::shared_ptr< Wavefunction > reference_wavefunction() const
Returns the reference wavefunction.
Definition: wavefunction.cc:465
Simple wavefunction base class.
Definition: wavefunction.h:84
PsiReturnType cclambda(SharedWavefunction, Options &)
double compute_energy()
Compute energy. Subclasses override this function to compute its energy.
Definition: cclambda.cc:139
virtual ~CCLambdaWavefunction()
Definition: cclambda.cc:129