aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/pd-help/vasp_rvalleys.pd
blob: 20170c20f3dd03c17aa47fd91f2269dbc8ee8505 (plain)
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
#N canvas 36 36 837 642 10;
#X obj 72 26 cnv 15 15 15 empty empty vasp.rval 0 10 1 14 -262144 -1
0;
#X obj 76 131 filelist \$0;
#N canvas 40 55 281 170 clear_buffers 0;
#X obj 54 79 vasp.update;
#X obj 54 56 vasp.= 0;
#X obj 54 26 inlet;
#X obj 54 108 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X restore 500 505 pd clear_buffers;
#X obj 65 263 vasp.update;
#X obj 65 283 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X obj 411 132 wavedisplay-simple bufrval1 \$0;
#X obj 412 289 wavedisplay-simple bufrval2 \$0;
#X msg 65 223 vasp bufrval1 bufrval2;
#X obj 65 243 vasp.cfft;
#X obj 65 510 vasp.update;
#X obj 65 530 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X msg 65 426 vasp bufrval1 bufrval2;
#X obj 65 446 vasp.c!fft;
#X obj 337 507 dac~;
#X obj 337 469 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 358 472 play;
#X obj 337 487 tabplay~ bufrval1;
#X msg 500 485 vasp bufrval1 bufrval2;
#N canvas 92 108 440 390 inside 0;
#X obj 66 169 soundfiler;
#X obj 135 260 s \$0-sample-length;
#X obj 66 223 s \$0-draw_display;
#X msg 247 217 resize \$1;
#X obj 66 47 loadbang;
#X obj 66 113 filelisthandler \$0;
#X obj 247 239 s bufrval1;
#X obj 258 260 s bufrval2;
#X msg 247 183 88200;
#X obj 66 68 t b b;
#X msg 66 145 read \$1 bufrval1;
#X msg 66 91 3;
#X obj 66 193 t b;
#X connect 0 0 12 0;
#X connect 3 0 6 0;
#X connect 3 0 7 0;
#X connect 4 0 9 0;
#X connect 5 0 10 0;
#X connect 8 0 1 0;
#X connect 8 0 3 0;
#X connect 9 0 11 0;
#X connect 9 1 8 0;
#X connect 10 0 0 0;
#X connect 11 0 5 0;
#X connect 12 0 2 0;
#X restore 689 505 pd inside;
#X text 71 49 find radius valleys of a complex vasp;
#X text 71 65 argument/right inlet: density (0-1);
#X text 72 97 needs two vectors (real and imaginary);
#X obj 65 467 vasp.opt;
#X obj 65 489 vasp.* 0.5;
#X text 71 81 right outlet: the current density;
#X obj 65 382 vasp.update;
#X obj 65 402 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X msg 65 308 vasp bufrval1 bufrval2;
#X floatatom 168 342 5 0 0;
#X floatatom 168 383 12 0 0;
#X text 257 382 current density;
#X obj 65 362 vasp.rvalleys 0.05;
#X obj 54 595 VASP-HELP;
#X connect 3 0 4 0;
#X connect 7 0 8 0;
#X connect 8 0 3 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 22 0;
#X connect 14 0 16 0;
#X connect 16 0 13 0;
#X connect 16 0 13 1;
#X connect 17 0 2 0;
#X connect 22 0 23 0;
#X connect 23 0 9 0;
#X connect 25 0 26 0;
#X connect 27 0 31 0;
#X connect 28 0 31 1;
#X connect 31 0 25 0;
#X connect 31 1 29 0;