DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
runParameters.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
20#ifndef runParameters_H_
21#define runParameters_H_
22#include <deal.II/base/data_out_base.h>
23#include <deal.II/base/parameter_handler.h>
24#include <string>
25#include <fstream>
26#include <iostream>
27#include <TypeConfig.h>
28
29namespace dftfe
30{
31 /**
32 * @brief Namespace which declares the input outer run parameters
33 *
34 * @author Sambit Das
35 */
37 {
38 public:
40 std::string solvermode;
41 bool restart;
42 std::string restartFilesPath;
45 double Kmax;
46 double Kmin;
50
52 std::string bfgsStepMethod;
55 std::string optimizationSolver;
56 std::string ionRelaxFlagsFile;
57
59 runParameters() = default;
60
61 /**
62 * Parse parameters.
63 */
64 void
65 parse_parameters(const std::string &parameter_file);
66 void
68
69 private:
70 dealii::ParameterHandler prm;
71
72
73
74 }; // class runParameters
75
76} // namespace dftfe
77#endif
dealii::ParameterHandler prm
Definition runParameters.h:70
double Kmax
Definition runParameters.h:45
dftfe::Int numberOfImages
Definition runParameters.h:43
std::string solvermode
Definition runParameters.h:40
void parse_parameters(const std::string &parameter_file)
double Kmin
Definition runParameters.h:46
bool restart
Definition runParameters.h:41
dftfe::uInt lbfgsNumPastSteps
Definition runParameters.h:54
std::string optimizationSolver
Definition runParameters.h:55
std::string restartFilesPath
Definition runParameters.h:42
dftfe::Int verbosity
Definition runParameters.h:39
std::string bfgsStepMethod
Definition runParameters.h:52
bool useDevice
Definition runParameters.h:49
dftfe::uInt maxLineSearchIterCGPRP
Definition runParameters.h:51
std::string coordinatesFileNEB
Definition runParameters.h:58
std::string domainVectorsFileNEB
Definition runParameters.h:58
dftfe::Int maximumNEBiteration
Definition runParameters.h:48
double pathThreshold
Definition runParameters.h:47
std::string ionRelaxFlagsFile
Definition runParameters.h:56
bool imageFreeze
Definition runParameters.h:44
double optimizermaxIonUpdateStep
Definition runParameters.h:53
Definition pseudoPotentialToDftfeConverter.cc:34
std::uint32_t uInt
Definition TypeConfig.h:10
std::int32_t Int
Definition TypeConfig.h:11