File: d3.tcl

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (97 lines) | stat: -rw-r--r-- 2,585 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
source commands.tcl

module d3\#auto -title "PWSCF GUI: module D3.x" -script {

    readfilter ::pwscf::d3ReadFilter

    namelist inputph -name "INPUTPH" {
	required {
	    var fildrho {
		-label "File containing the variation of the charge at q (fildrho):"
		-widget   entryfileselectquote
		-validate string
	    }
	    var fild0rho {
		-label "File containing the variation of the charge at q=0 (fild0rho):"
		-widget   entryfileselectquote
		-validate string
	    }
	    auxilvar ntyp {
		-label   "Number of types of atoms:"
		-validate posint
		-fmt      %d
		-default  1
		-widget   spinint  
	    }		
	    dimension amass {
		-label     "Atomic mass of each atomic type:"
		-validate  fortranreal
		-start     1
		-end       1
	    }
	}
	optional {
	    var prefix \
		-label  "Prefix for file names (prefix):" \
		-widget [list entrybutton "Prefix ..." [list ::pwscf::selectFileRoot $this prefix]] \
		-fmt    %S -validate string
	    
	    var outdir {
		-label  "Temporary directory (outdir):"
		-widget entrydirselectquote
		-validate string
	    }
	    var iverbosity {
		-label "Verbosity of output (iverbosity):"
		-textvalue {high low}
		-value     {1 0}
		-widget    radiobox
	    }
	    var fildyn -label "Output file with the derivative of the dynamical matrix (fildyn):" -validate string
	    var ethr_ph {
		-label "Threshold for iterative diagonalization (ethr_ph):" 
		-validate fortranposreal
	    }
	    auxilvar nmode {
		-label    "Number of q=0 modes to compute:"
		-validate posint
		-default  1
		-widget   spinint
	    }
	    dimension q0mode_todo {
		-label    "The q=0 modes to compute"
		-validate nonnegint
		-widget   spinint
		-start     1
		-end       1
	    }
	    var wraux {
		-label "Write different terms of the matrix on different files (wraux):"
		-textvalue {Yes No}
		-value     {.true. .false.}
		-widget     radiobox
	    }
	    var recv {
		-label "Is this recover run (rcev):"
		-textvalue {Yes No}
		-value     {.true. .false.}
		-widget     radiobox
	    }
	    var istop  {
		-label    "Where to stop calculation, istop=0 means do not stop (istop):"
		-widget   spinint
		-validate nonnegint
	    }
	}
    }

    # ----------------------------------------------------------------------
    # take care of specialities
    # ----------------------------------------------------------------------
    source d3-event.tcl

    # ------------------------------------------------------------------------
    # source the HELP file
    # ------------------------------------------------------------------------
    source d3-help.tcl
}