DFT-FE
1.3.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
workspace
include
exchangeCorrelationFunctionalEvaluator.h
Go to the documentation of this file.
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (c) 2017-2025 The Regents of the University of Michigan and DFT-FE
4
// authors.
5
//
6
// This file is part of the DFT-FE code.
7
//
8
// The DFT-FE code is free software; you can use it, redistribute
9
// it, and/or modify it under the terms of the GNU Lesser General
10
// Public License as published by the Free Software Foundation; either
11
// version 2.1 of the License, or (at your option) any later version.
12
// The full text of the license can be found in the file LICENSE at
13
// the top level of the DFT-FE distribution.
14
//
15
// ---------------------------------------------------------------------
16
//
17
18
#ifndef DFTFE_EXCORRFUNCTIONALEVALUATOR_H
19
#define DFTFE_EXCORRFUNCTIONALEVALUATOR_H
20
#include <
MemoryStorage.h
>
21
22
23
namespace
dftfe
24
{
25
#define DFTFE_FUNCTIONALEVALUATOR_LDA_X(NAME, BODY) \
26
template <dftfe::utils::MemorySpace memorySpace> \
27
void LDAX_##NAME( \
28
dftfe::uInt numPoints, \
29
const dftfe::utils::MemoryStorage<double, memorySpace> &densityValues, \
30
dftfe::utils::MemoryStorage<double, memorySpace> &excEnergyOut, \
31
dftfe::utils::MemoryStorage<double, memorySpace> &pdexDensity);
32
33
#define DFTFE_FUNCTIONALEVALUATOR_LDA_C(NAME, BODY) \
34
template <dftfe::utils::MemorySpace memorySpace> \
35
void LDAC_##NAME( \
36
dftfe::uInt numPoints, \
37
const dftfe::utils::MemoryStorage<double, memorySpace> &densityValues, \
38
dftfe::utils::MemoryStorage<double, memorySpace> &corrEnergyOut, \
39
dftfe::utils::MemoryStorage<double, memorySpace> &pdecDensity);
40
#include <exchangeCorrelationFunctionalEvaluation.def>
41
42
}
// namespace dftfe
43
44
45
#undef DFTFE_FUNCTIONALEVALUATOR_LDA_X
46
#undef DFTFE_FUNCTIONALEVALUATOR_LDA_C
47
#endif
// DFTFE_EXCORRFUNCTIONALEVALUATOR_H
MemoryStorage.h
dftfe
Definition
pseudoPotentialToDftfeConverter.cc:34
Generated by
1.13.2