DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
pseudopotentialBaseClass.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// @author Kartick Ramakrishnan
18//
19
20#ifndef DFTFE_PSEUDOBASECLASS_H
21#define DFTFE_PSEUDOBASECLASS_H
22
23#include "vector"
24#include "map"
31#include <memory>
32#include <MemorySpaceType.h>
33#include <headers.h>
34#include <TypeConfig.h>
35#include <dftUtils.h>
36#include "FEBasisOperations.h"
37#include <BLASWrapper.h>
38#include <xc.h>
39#include <excManager.h>
40#ifdef _OPENMP
41# include <omp.h>
42#else
43# define omp_get_thread_num() 0
44#endif
45namespace dftfe
46{
53
54 // pseudopotentialBaseClass contains the getter functions to obtain the
55 // pseudoPotential coupling matrix, single precision coupling matrix,
56 // non-local operator and non-local operator single precision.
57
58 template <typename ValueType, dftfe::utils::MemorySpace memorySpace>
86} // end of namespace dftfe
87#endif // DFTFE_PSEUDOPOTENTIALBASE_H
Definition AtomicCenteredNonLocalOperator.h:58
Definition pseudopotentialBaseClass.h:60
virtual const dftfe::utils::MemoryStorage< ValueType, memorySpace > & getCouplingMatrix(CouplingType couplingtype=CouplingType::HamiltonianEntries)=0
virtual const dftfe::utils::MemoryStorage< typename dftfe::dataTypes::singlePrecType< ValueType >::type, memorySpace > & getCouplingMatrixSinglePrec(CouplingType couplingtype=CouplingType::HamiltonianEntries)=0
virtual ~pseudopotentialBaseClass()
Definition pseudopotentialBaseClass.h:62
virtual const std::shared_ptr< AtomicCenteredNonLocalOperator< ValueType, memorySpace > > getNonLocalOperator()=0
virtual const std::shared_ptr< AtomicCenteredNonLocalOperator< typename dftfe::dataTypes::singlePrecType< ValueType >::type, memorySpace > > getNonLocalOperatorSinglePrec()
Definition MemoryStorage.h:33
Definition pseudoPotentialToDftfeConverter.cc:34
CouplingType
Definition pseudopotentialBaseClass.h:48
@ HamiltonianEntries
Definition pseudopotentialBaseClass.h:49
@ inverseOverlapEntries
Definition pseudopotentialBaseClass.h:51
@ OverlapEntries
Definition pseudopotentialBaseClass.h:50
T type
Definition dftfeDataTypes.h:113