00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00037 #if !defined(_XC_MATRIX_SPARSE_H_)
00038 #define _XC_MATRIX_SPARSE_H_ 1
00039
00040 #define BEGIN_NAMESPACE(x) namespace x {
00041 #define END_NAMESPACE(x) }
00042
00043 #include "basisinfo.h"
00044 #include "matrix_typedefs.h"
00045 #include "realtype.h"
00046
00047
00048 typedef ergo_real real;
00049
00050 BEGIN_NAMESPACE(Dft)
00051
00052 real getXC_seq(const BasisInfoStruct& bis, const IntegralInfo& integralInfo,
00053 const Molecule& mol, const Dft::GridParams& gss,
00054 int nelectrons, const symmMatrix& dmat,
00055 symmMatrix& ksm, real* edfty,
00056 std::vector<int> const & permutationHML);
00057
00058 real getXC_mt(const BasisInfoStruct& bis, const IntegralInfo& integralInfo,
00059 const Molecule& mol, const Dft::GridParams& gss,
00060 int nElectrons, const symmMatrix& dens,
00061 symmMatrix& xcm, real* xcEnergy,
00062 std::vector<int> const & permutationHML);
00063
00064 real getUXC_seq(const BasisInfoStruct& bis, const IntegralInfo& integralInfo,
00065 const Molecule& mol, const Dft::GridParams& gss, int nElectrons,
00066 const symmMatrix& densA, const symmMatrix& densB,
00067 symmMatrix& xcA, symmMatrix& xcB, real* xcEnergy,
00068 std::vector<int> const & permutationHML);
00069
00070 real getUXC_mt(const BasisInfoStruct& bis, const IntegralInfo& integralInfo,
00071 const Molecule& mol, const Dft::GridParams& gss, int nElectrons,
00072 const symmMatrix& densA, const symmMatrix& densB,
00073 symmMatrix& xcA, symmMatrix& xcB, real* xcEnergy,
00074 std::vector<int> const & permutationHML);
00075
00076 END_NAMESPACE(Dft)
00077
00078 #endif