#!/bin/csh -f set PDB = Na.pdb set pdb_name = out.gro set init_dist = 0.28 set A1 = NA1 set B1 = NA2 set boxlength = 4.0 #genera file inizio.pdb with 2 mol at begin c.o.m. distance #editconf -f 2mer.pdb -bt cubic -box 4.0 -o inizio.pdb editconf -f $PDB -box $boxlength -bt cubic -o $pdb_name cat ndx | make_ndx -f $pdb_name -o index.ndx cat > eq.mdp < pull_ini.ppa < file_dist.dat mkdir confs mv conf* ./confs/