Changes between Version 10 and Version 11 of StartersTutorial
- Timestamp:
- Jul 29, 2010, 10:22:23 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StartersTutorial
v10 v11 28 28 Let's briefly fix atom 0's element, i.e. convert it from carbon to oxygen. 29 29 {{{ 30 ./src/molecuilder -i test.xyz -E 8 --atom-by-id 030 ./src/molecuilder -i test.xyz --select-atom-by-id 0 -E 8 31 31 }}} 32 32 33 This will change the element of atom with index 0 to 8, i.e. make it an oxygen.33 Note that we first have to select the desired atom, then specify the action on it. This will change the element of atom with index 0 to 8, i.e. make it an oxygen. 34 34 35 35 == Changing the simulation domain == … … 52 52 53 53 {{{ 54 ./src/molecuilder -i test.conf -o xyz - t "-5, 5, 5" --molecule-by-id 0--periodic 154 ./src/molecuilder -i test.conf -o xyz --select-molecule-by-id 0 -t "-5, 5, 5" --periodic 1 55 55 }}} 56 56 … … 73 73 If we would like to place it right-away somewhere else, we would use this call: 74 74 {{{ 75 ./src/molecuilder -i test.conf -o xyz -p water.xyz - t "15, 15, 15" --molecule-by-id 1--periodic 175 ./src/molecuilder -i test.conf -o xyz -p water.xyz --select-molecule-by-id 1 -t "15, 15, 15" --periodic 1 76 76 }}} 77 77 which would translate the newly parsed-in molecule, getting index 1, by (15,15,15), adhering to periodic boundary conditions. … … 98 98 The last step is especially needed for the following tesselation of the second molecule only: 99 99 {{{ 100 ./src/molecuilder -i test.conf -I - N 3. --nonconvex-file NonConvexEnvelope --molecule-by-id 2100 ./src/molecuilder -i test.conf -I --select-molecule-by-id 2 -N 3. --nonconvex-file NonConvexEnvelope 101 101 }}} 102 102 … … 107 107 We will end this tutorial by doing some analysis on these two water molecules, namely a pair correlation 108 108 {{{ 109 ./src/molecuilder -i test.conf -v 3 - C E --elements 1 8 --output-file output-point.csv --bin-output-file bin_output-point.csv --bin-start 0 --bin-end 20109 ./src/molecuilder -i test.conf -v 3 --select-all-molecules -C E --elements 1 8 --output-file output-point.csv --bin-output-file bin_output-point.csv --bin-start 0 --bin-end 20 110 110 }}} 111 111 112 112 and a surface correlation analysis. 113 113 {{{ 114 ./src/molecuilder -i test.conf -v 3 -I - C S --elements 1 --output-file output-surface.csv --bin-output-file bin_output-surface.csv --bin-start 0 --bin-width 1. --bin-end 20 --molecule-by-id 2114 ./src/molecuilder -i test.conf -v 3 -I --select-all-molecules -C S --elements 1 --output-file output-surface.csv --bin-output-file bin_output-surface.csv --bin-start 0 --bin-width 1. --bin-end 20 --molecule-by-id 2 115 115 }}} 116 116
