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>
27namespace dftfe
28{
29 /**
30 * @brief Namespace which declares the input outer run parameters
31 *
32 * @author Sambit Das
33 */
35 {
36 public:
38 std::string solvermode;
39 bool restart;
40 std::string restartFilesPath;
43 double Kmax;
44 double Kmin;
48
50 std::string bfgsStepMethod;
52 unsigned int lbfgsNumPastSteps;
53 std::string optimizationSolver;
54 std::string ionRelaxFlagsFile;
55
57 runParameters() = default;
58
59 /**
60 * Parse parameters.
61 */
62 void
63 parse_parameters(const std::string &parameter_file);
64 void
66
67 private:
68 dealii::ParameterHandler prm;
69
70
71
72 }; // class runParameters
73
74} // namespace dftfe
75#endif
dealii::ParameterHandler prm
Definition runParameters.h:68
double Kmax
Definition runParameters.h:43
unsigned int maxLineSearchIterCGPRP
Definition runParameters.h:49
unsigned int lbfgsNumPastSteps
Definition runParameters.h:52
std::string solvermode
Definition runParameters.h:38
void parse_parameters(const std::string &parameter_file)
double Kmin
Definition runParameters.h:44
bool restart
Definition runParameters.h:39
int maximumNEBiteration
Definition runParameters.h:46
std::string optimizationSolver
Definition runParameters.h:53
std::string restartFilesPath
Definition runParameters.h:40
std::string bfgsStepMethod
Definition runParameters.h:50
bool useDevice
Definition runParameters.h:47
int numberOfImages
Definition runParameters.h:41
std::string coordinatesFileNEB
Definition runParameters.h:56
std::string domainVectorsFileNEB
Definition runParameters.h:56
int verbosity
Definition runParameters.h:37
double pathThreshold
Definition runParameters.h:45
std::string ionRelaxFlagsFile
Definition runParameters.h:54
bool imageFreeze
Definition runParameters.h:42
double optimizermaxIonUpdateStep
Definition runParameters.h:51
Definition pseudoPotentialToDftfeConverter.cc:34