Hello,
I am learning about MB-pol and was testing the examples on Github. I was calculating the N-body terms using an example geometry. I am confused what exactly is being computed. From my understanding, the sum of the N-body contributions should be the total energy (in kcal/mol?)?
This is the nrg file:
SYSTEM 3H2O
MOLECULE
MONOMER h2o
O -1.58972425 1.04337922 -0.08780840
H -0.63591971 0.97898520 0.00000000
H -1.90066280 1.74501050 -0.66454990
ENDMON
ENDMOL
MOLECULE
MONOMER h2o
O 1.64924507 1.08594656 0.00000000
H 2.60878026 1.09587704 -0.02817115
H 1.33830653 1.78757784 0.57674150
ENDMON
ENDMOL
MOLECULE
MONOMER h2o
O -0.61315209 2.46976336 2.07005086
H 0.34684791 2.46976336 2.07005086
H -0.93360667 3.37469919 2.07005086
ENDMON
ENDMOL
ENDSYS
I am using this json configuration file
{"Note" : "This is a MBX v1.0.0 configuration file","MBX" : {"box" : [] # gas phase ,"twobody_cutoff" : 500.0 # large cutoff,"threebody_cutoff" : 4.5,"dipole_tolerance" : 1E-08,"dipole_max_it" : 100,"dipole_method" : "cg","alpha_ewald_elec" : 0.6,"grid_density_elec" : 2.5,"spline_order_elec" : 6,"alpha_ewald_disp" : 0.6,"grid_density_disp" : 2.5,"spline_order_disp" : 6,"ignore_2b_poly" : [],"ignore_3b_poly" : []} ,"i-pi" : {"localhost" : "localhost3","port" : 34567}}
I run
mb_decomp -v WATER.nrg mbx.json
and get the 1B, 2B, and 3B contributions
0, 2.595209525
1, 1.312228876
2, 1.312228775
0,1, -1.589620258
0,2, 4.165011111
1,2, 2.596461769
The sum of which is 10.6947235827.
With the -e flag added,
mb_decomp -v -e WATER.nrg mbx.json
0, 2.595209525
1, 1.312228876
2, 1.312228775
0,1, 2.317818143
0,2, 8.072449411
1,2, 5.22091942
0,1,2, 10.69472358
The 3B term is now 10.69472358, which is exactly the same as the sum from before.
Running the other executable single_point
single_point WATER.nrg mbx.json also gives Energy= 1.0694723582e+01.
Thank you