JDFTx  1.2.0
IonDynamicsParams.h
1 /*-------------------------------------------------------------------
2 Copyright 2011 Ravishankar Sundararaman, Kendra Letchworth Weaver
3 
4 This file is part of JDFTx.
5 
6 JDFTx is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10 
11 JDFTx is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with JDFTx. If not, see <http://www.gnu.org/licenses/>.
18 -------------------------------------------------------------------*/
19 
20 #ifndef JDFTX_ELECTRONIC_IONDYNAMICSPARAMS_H
21 #define JDFTX_ELECTRONIC_IONDYNAMICSPARAMS_H
22 
23 #include <core/Units.h>
24 
25 enum ConfiningPotentialType
26 { ConfineLinear,
27  ConfineQuadratic,
28  ConfineCubic,
29  ConfineSmoothLinear,
30  ConfineNone
31 };
32 
35 
38 { double dt, tMax, kT, alpha;
39  ConfiningPotentialType confineType;
40  std::vector<double> confineParameters;
42  IonDynamicsParams(): dt(1.0*fs), tMax(0.0) ,kT(0.001), alpha(0.0), confineType(ConfineNone){}
43 };
44 
46 
47 #endif // JDFTX_ELECTRONIC_IONDYNAMICSPARAMS_H
IonDynamicsParams()
Set the default values.
Definition: IonDynamicsParams.h:42
const double fs
Definition: Units.h:57
Commonly used measurement units in terms of atomic units.
Parameters to control the Verlet algorithm.
Definition: IonDynamicsParams.h:37