JDFTx  1.2.0
ExCorr_OrbitalDep_GLLBsc.h
1 /*-------------------------------------------------------------------
2 Copyright 2014 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_EXCORR_ORBITALDEP_GLLBSC_H
21 #define JDFTX_ELECTRONIC_EXCORR_ORBITALDEP_GLLBSC_H
22 
23 #include <electronic/ExCorr.h>
24 
27  bool ignore_nCore() const { return true; }
29  void dump() const;
30 private:
31  double T; //smearing width
32  std::vector<double> getExtremalEnergy(bool HOMO) const;
33  ScalarFieldArray getPotential(std::vector<double> eHOMO, std::vector<double>* eLUMO=0) const;
34 };
35 
36 #endif //JDFTX_ELECTRONIC_EXCORR_ORBITALDEP_GLLBSC_H
std::vector< ScalarField > ScalarFieldArray
dynamic size collection of real space scalar fields
Definition: ScalarFieldArray.h:32
ScalarFieldArray getPotential() const
Return orbital-dependent portion of potential (obtains any necessary electronic property directly fro...
Definition: ExCorr_OrbitalDep_GLLBsc.h:25
bool ignore_nCore() const
Whether partial cores need to be ignored for this functional.
Definition: ExCorr_OrbitalDep_GLLBsc.h:27
Definition: Everything.h:41
void dump() const
Dump any functional-specific quantities.
Abstract base class (interface specification) for orbital-dependent potential functionals.
Definition: ExCorr.h:107