DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
pseudoConverter.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
19#ifndef converter_h
20#define converter_h
21#include <string>
22
23#include "string.h"
24namespace dftfe
25{
26 //
27 // Declare pseudoUtils function
28 //
29
30 /**
31 * @brief wrapper to convert pseudopotential file from upf to dftfe format and returns the nonlinear core correction
32 * flag
33 *
34 * The functionality reads a file containing list of pseudopotential files in
35 * upf format and converts into into dftfe format -via- xml file format
36 *
37 * @author Phani Motamarri
38 */
39
40 namespace pseudoUtils
41 {
42 std::vector<int>
43 convert(const std::string &file,
44 const std::string &dftfeScratchFolderName,
45 const int verbosity,
46 const unsigned natomTypes,
47 const bool pseudoTestsFlag);
48 }
49} // namespace dftfe
50#endif
wrapper to convert pseudopotential file from upf to dftfe format and returns the nonlinear core corre...
Definition pseudoPotentialToDftfeConverter.cc:36
std::vector< int > convert(const std::string &file, const std::string &dftfeScratchFolderName, const int verbosity, const unsigned natomTypes, const bool pseudoTestsFlag)
Definition pseudoPotentialToDftfeConverter.cc:34