atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
cpmd.h
Go to the documentation of this file.
1/* This file is part of the 'atomes' software
2
3'atomes' is free software: you can redistribute it and/or modify it under the terms
4of the GNU Affero General Public License as published by the Free Software Foundation,
5either version 3 of the License, or (at your option) any later version.
6
7'atomes' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
8without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9See the GNU General Public License for more details.
10
11You should have received a copy of the GNU Affero General Public License along with 'atomes'.
12If not, see <https://www.gnu.org/licenses/>
13
14Copyright (C) 2022-2024 by CNRS and University of Strasbourg */
15
22/*
23* This header file: 'cpmd.h'
24*
25* Contains:
26
27 Variable declarations for the creation of the CPMD input file
28
29*/
30
31#define NCPMDCALC 7
32#define NCACOMBO 5
33#define NDFT 19
34#define NSYM 11
35#define NOPTPC 7
36
37#define NSECOP 6
38#define DEFEM 0
39#define DEFLS 1
40#define DEFVD 2
41#define DEFDF 3
42#define DEFGC 4
43#define DEFAN 5
44#define DEFVE 6
45#define DEFSY 7
46#define DEFAB 8
47#define DEFDG 9
48#define DEFCU 10
49#define DEFCO 11
50#define DEFFI 12
51#define DEFDU 13
52#define DEFSP 14
53#define DEFLM 15
54#define DEFLO 16
55
56#define CONVO 0
57#define OPTIO 1
58#define STEPO 2
59#define TSTPO 3
60#define CONVG 4
61#define OPTIG 5
62#define STEPG 6
63#ifndef CPMD_H_
64#define CPMD_H_
65
66#define TSTPG 7
67#define STEPC 8
68#define TSTPC 9
69#define BAROC 10
70#define ANNIC 11
71#define AFAIC 12
72#define ANNEC 13
73#define AFAEC 14
74#define STEPB 15
75#define TSTPB 16
76#define BAROB 17
77#define ANNIB 18
78#define AFAIB 19
79#define KSUNO 20
80#define RHOUT 21
81#define NBAND 22
82#define VIBRA 23
83
84extern cpmd * tmp_cpmd;
85extern gboolean is_cpmd;
86
87extern gchar * cpmd_elements[MAXDATAQM];
88extern gchar * cdescr[MAXDATAQM];
89extern double default_cpmd_options[17];
90extern gchar * default_opts[MAXDATAQM-1][NSECOP];
91// 0 = None, 1 = Entry, 2 = Combo, 3 = yes/no
93// NDF is the max by far
94extern int defaut_num[9];
95extern gchar * default_keywords[9][NDFT];
96extern gchar * default_text[9][NDFT];
97extern double default_calc_options[24];
98extern gchar * calc_opts[NCPMDCALC][NOPTPC];
99extern int default_type[NCPMDCALC][NOPTPC];
100extern gchar * calc_kw[NCPMDCALC];
101extern gchar * calc_ds[NCPMDCALC];
102extern int calc_box_num[NCACOMBO];
103extern gchar * calc_box_name[NCACOMBO][3];
104extern gchar * calc_box_keys[NCACOMBO][3];
105
106extern gchar * rest_kw[2];
107extern gchar * rest_opts[3];
108
109extern GtkWidget * sel_but[3];
110extern GtkWidget * sel_img[3];
111
112extern GtkWidget * cpmd_box (GtkWidget * box, gchar * lab, int v_space, int h_space, int dim);
113
116 CONTROL = -1,
117 GLOBAL = 0,
118 LOCAL = 1,
119 MOLECULE = 2
121
122extern gchar * nosetype[3];
123extern gchar * nosekey[2];
124extern gchar * thermo_name[2][5];
125extern int num_thermo[2];
126extern int type_thermo[2];
127extern gchar * termoke[2];
128extern gchar * param[2];
129extern gchar * iunit[2];
130extern gchar * eunit[2];
131#endif
#define MAXDATAQM
Definition calc.c:55
#define NSECOP
Definition cpmd.h:37
therm_types
Definition cpmd.h:115
@ MOLECULE
Definition cpmd.h:119
@ LOCAL
Definition cpmd.h:118
@ CONTROL
Definition cpmd.h:116
@ GLOBAL
Definition cpmd.h:117
double default_calc_options[24]
Definition cpmd_init.c:163
int type_thermo[2]
Definition cpmd_init.c:221
GtkWidget * sel_img[3]
Definition cpmd_nose.c:138
gchar * thermo_name[2][5]
Definition cpmd_init.c:218
GtkWidget * cpmd_box(GtkWidget *box, gchar *lab, int v_space, int h_space, int dim)
prepare a labelled box widget for the CPMD input creation assistant
Definition cpmd_init.c:248
gchar * rest_opts[3]
Definition cpmd_init.c:215
gboolean is_cpmd
Definition cpmd_init.c:235
#define NCACOMBO
Definition cpmd.h:32
gchar * rest_kw[2]
Definition cpmd_init.c:214
gchar * calc_ds[NCPMDCALC]
Definition cpmd_init.c:192
gchar * termoke[2]
Definition cpmd_init.c:222
gchar * default_text[9][NDFT]
Definition cpmd_init.c:150
gchar * calc_box_name[NCACOMBO][3]
Definition cpmd_init.c:202
gchar * nosekey[2]
Definition cpmd_init.c:217
gchar * cdescr[MAXDATAQM]
Definition cpmd_init.c:113
cpmd * tmp_cpmd
Definition cpmd_init.c:103
int num_thermo[2]
Definition cpmd_init.c:220
double default_cpmd_options[17]
Definition cpmd_init.c:121
gchar * calc_opts[NCPMDCALC][NOPTPC]
Definition cpmd_init.c:169
#define NCPMDCALC
Definition cpmd.h:31
gchar * eunit[2]
#define NDFT
Definition cpmd.h:33
int defaut_num[9]
Definition cpmd_init.c:138
gchar * iunit[2]
int calc_box_num[NCACOMBO]
Definition cpmd_init.c:200
gchar * default_keywords[9][NDFT]
Definition cpmd_init.c:140
gchar * cpmd_elements[MAXDATAQM]
Definition cpmd_init.c:105
gchar * param[2]
int default_opts_type[MAXDATAQM-1][NSECOP]
Definition cpmd_init.c:131
gchar * default_opts[MAXDATAQM-1][NSECOP]
Definition cpmd_init.c:123
int default_type[NCPMDCALC][NOPTPC]
Definition cpmd_init.c:176
gchar * calc_kw[NCPMDCALC]
Definition cpmd_init.c:184
GtkWidget * sel_but[3]
Definition cpmd_nose.c:137
#define NOPTPC
Definition cpmd.h:35
gchar * nosetype[3]
Definition cpmd_init.c:216
gchar * calc_box_keys[NCACOMBO][3]
Definition cpmd_init.c:208
Definition global.h:771
GtkWidget * lab
Definition workspace.c:73