Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

simple name change of water function

  • Loading branch information...
commit 196a0291c0a0e5a749e70330ad38cc9458bc813a 1 parent fdd7ace
Christoph Junghans ottxor authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 statistics.h
8 statistics.h
@@ -526,7 +526,7 @@ MDINLINE int get_com_h2o(Particle *p,double p_com[3])
526 526 }
527 527
528 528 #ifdef WATER
529   -MDINLINE double get_mol_dist(Particle *p1, Particle *p2) {
  529 +MDINLINE double get_mol_dist_h2o(Particle *p1, Particle *p2) {
530 530 double p1_com[3],p2_com[3],com_dist;
531 531
532 532 if (get_com_h2o(p1,p1_com) == -1 ) {
@@ -541,7 +541,7 @@ MDINLINE double get_mol_dist(Particle *p1, Particle *p2) {
541 541 return com_dist;
542 542 }
543 543
544   -MDINLINE int get_comvel_h2o(Particle *p,double v_com[3])
  544 +/*MDINLINE int get_comvel_h2o(Particle *p,double v_com[3])
545 545 {
546 546 int i,p_nr,count=0;
547 547 Particle* bonded_p,*calling_p;
@@ -564,7 +564,7 @@ MDINLINE int get_comvel_h2o(Particle *p,double v_com[3])
564 564 v_com[i]=calling_p->p.mass*calling_p->m.v[i];
565 565 }
566 566 M=calling_p->p.mass;
567   - for (p_nr=0;p_nr<calling_p->bl.n;p_nr++)/*bl list has entrie bond type, particle id, bond type, particle id*/
  567 + for (p_nr=0;p_nr<calling_p->bl.n;p_nr++)//bl list has entrie bond type, particle id, bond type, particle id
568 568 {
569 569 if ( (calling_p->bl.e[p_nr]==0) || (calling_p->bl.e[p_nr]==3) || (calling_p->bl.e[p_nr]==1) || (calling_p->bl.e[p_nr]==9))
570 570 {
@@ -628,7 +628,7 @@ MDINLINE int get_comvel_h2o(Particle *p,double v_com[3])
628 628 exit(182);
629 629 return (-1);
630 630 }
631   -}
  631 +}*/
632 632 #endif
633 633
634 634 /*@}*/

0 comments on commit 196a029

Please sign in to comment.
Something went wrong with that request. Please try again.