JDFTx  1.2.0
ExactExchange.h
1 /*-------------------------------------------------------------------
2 Copyright 2012 Ravishankar Sundararaman
3 
4 This file is part of JDFTx.
5 
6 JDFTx is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10 
11 JDFTx is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with JDFTx. If not, see <http://www.gnu.org/licenses/>.
18 -------------------------------------------------------------------*/
19 
20 #ifndef JDFTX_ELECTRONIC_EXACTEXCHANGE_H
21 #define JDFTX_ELECTRONIC_EXACTEXCHANGE_H
22 
23 #include <electronic/common.h>
24 #include <core/ScalarField.h>
25 #include <vector>
26 
28 {
29 public:
30  ExactExchange(const Everything& e);
31  ~ExactExchange();
32 
35  double operator()(double aXX, double omega,
36  const std::vector<diagMatrix>& F, const std::vector<ColumnBundle>& C,
37  std::vector<ColumnBundle>* HC = 0) const;
38 private:
39  const Everything& e;
40  class ExactExchangeEval* eval;
41 };
42 
43 #endif // JDFTX_ELECTRONIC_EXACTEXCHANGE_H
Real and complex scalar fields in real and reciprocal space.
Definition: ExactExchange.h:27
Definition: Everything.h:41
double operator()(double aXX, double omega, const std::vector< diagMatrix > &F, const std::vector< ColumnBundle > &C, std::vector< ColumnBundle > *HC=0) const