This is a C++ program to analyze orientations of water molecules from multiple-frame GROMACS structure files (*.gro). Fined-grained OpenMp is implented to fulfill parallel computing in multiple-processors computers.
Use the trjconv tool installed with GROMACS to convert a trajectory file (.trr) into a multi-frame .gro file. Type
gmx trjconv -f *.trr -s *.tpr -n *.ndx -pbc whole -o sample.groA sample output "sample.gro" is provided for testing CosSq.
We use make to compile and execuate CosSq in once.
make Makefile_CosSq_OpenMPAfter the job finish, three output files will be generated:
sample.cos
sample.dip
sample.logThe sample.cos file prints out distant-dependent <cosθn> of water (n=1,2,3,4). The sample.dip file gives the z-component of polarization density of water in along z-direction.
Copyright (C) 2017 Si-Han Chen chen.3262@osu.edu
