DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
ExcSSDFunctionalBaseClass.t.cc
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// @author Vishal Subramanian
18//
19
21
22namespace dftfe
23{
24 template <dftfe::utils::MemorySpace memorySpace>
26 const ExcFamilyType excFamType,
27 const densityFamilyType densityFamType,
28 const std::vector<DensityDescriptorDataAttributes>
29 &densityDescriptorAttributesList)
30 : d_ExcFamilyType(excFamType)
31 , d_densityFamilyType(densityFamType)
32 , d_densityDescriptorAttributesList(densityDescriptorAttributesList)
33 {}
34
35 template <dftfe::utils::MemorySpace memorySpace>
37 const ExcFamilyType excFamType,
38 const densityFamilyType densityFamType,
39 const std::vector<DensityDescriptorDataAttributes>
40 &densityDescriptorAttributesList,
41 const std::vector<WfcDescriptorDataAttributes> &wfcDescriptorAttributesList)
42 : d_ExcFamilyType(excFamType)
43 , d_densityFamilyType(densityFamType)
44 , d_densityDescriptorAttributesList(densityDescriptorAttributesList)
45 , d_wfcDescriptorAttributesList(wfcDescriptorAttributesList)
46 {}
47
48 template <dftfe::utils::MemorySpace memorySpace>
51
52 template <dftfe::utils::MemorySpace memorySpace>
58
59 template <dftfe::utils::MemorySpace memorySpace>
65
66 template <dftfe::utils::MemorySpace memorySpace>
67 const std::vector<DensityDescriptorDataAttributes> &
73
74
75
76} // namespace dftfe
const std::vector< WfcDescriptorDataAttributes > d_wfcDescriptorAttributesList
Definition ExcSSDFunctionalBaseClass.h:216
densityFamilyType getDensityBasedFamilyType() const
Definition ExcSSDFunctionalBaseClass.t.cc:61
ExcSSDFunctionalBaseClass(const ExcFamilyType excFamType, const densityFamilyType densityFamType, const std::vector< DensityDescriptorDataAttributes > &densityDescriptorAttributesList)
Definition ExcSSDFunctionalBaseClass.t.cc:25
virtual ~ExcSSDFunctionalBaseClass()
Definition ExcSSDFunctionalBaseClass.t.cc:49
ExcFamilyType getExcFamilyType() const
Definition ExcSSDFunctionalBaseClass.t.cc:54
densityFamilyType d_densityFamilyType
Definition ExcSSDFunctionalBaseClass.h:219
ExcFamilyType d_ExcFamilyType
Definition ExcSSDFunctionalBaseClass.h:218
const std::vector< DensityDescriptorDataAttributes > d_densityDescriptorAttributesList
Definition ExcSSDFunctionalBaseClass.h:213
const std::vector< DensityDescriptorDataAttributes > & getDensityDescriptorAttributesList() const
Definition ExcSSDFunctionalBaseClass.t.cc:68
Definition pseudoPotentialToDftfeConverter.cc:34
densityFamilyType
Definition ExcSSDFunctionalBaseClass.h:45
ExcFamilyType
Definition ExcSSDFunctionalBaseClass.h:28