Revision 36f722bc dockOnSurf.sh

b/dockOnSurf.sh
5 5
only_ads=false
6 6
only_iso=false
7 7
only_ref=false
8
coads_box=false
8 9

  
9 10
for i in $@; do
10 11
  case $i in
......
18 19
      only_iso=true;;
19 20
    -r|--only-refinement)
20 21
      only_ref=true;;
22
    -b|--coadsorption-box)
23
      coads_box=true;;
21 24
  esac
22 25
done
23 26

  
......
27 30
  -q=NUM, --max-qw=NUM \t \t allows a maximum of NUM jobs on 'qw' status.
28 31
  -a, --only-ads \t \t carry out only adsorption part.
29 32
  -i, --only-isolated \t \t carry out only isolated molecules part.
30
  -r, --only-refinement \t carry out only refinement of adsorbed structure."
33
  -r, --only-refinement \t carry out only refinement of adsorbed structure.
34
  -b, --coadsorption-box \t when the surface file already contains an
35
\t \t \t \t adsorbed molecule, it creates a box around it to
36
\t \t \t \t prevent the second adsorbate to overlap the first."
31 37
  exit
32 38
fi
33 39

  
......
129 135
  	exit
130 136
  fi
131 137
  read -a list_atom_surf -p 'List of the atoms of the surface that can be adsorption sites '
138
	if [ "$coads_box" = true ] ; then
139
		read -a first_atom_ads1 -p 'Number of the adsorbate first atom in the surface file '
140
	fi
132 141
  echo '' 
133 142
  
134 143
  ### Adsorption de la molecule sur la surface
135 144
  
136
  ${DockOnSurf_path}/modules/script_add_adsorbate+diss.sh $molecule $surface "${list_atom_1_mol[*]}" "${list_atom_2_mol[*]}" "${list_atom_surf[*]}"
145
  ${DockOnSurf_path}/modules/script_add_adsorbate+diss.sh $molecule $surface "${list_atom_1_mol[*]}" "${list_atom_2_mol[*]}" "${list_atom_surf[*]}" $coads_box $first_atom_ads1
137 146
  
138 147
  echo ' -- ADSORPTION SUTRUCTURES HAVE BEEN CALCULATED --'
139 148
  

Also available in: Unified diff