| 58 | 
  | 
      else{ | 
| 59 | 
  | 
        sprintf( painCave.errMsg, | 
| 60 | 
  | 
                  "ZConstraint Warning: unknown force substraction policy, " | 
| 61 | 
< | 
                  "average force substraction policy is used\n"); | 
| 61 | 
> | 
                  "PolicyByMass is used\n"); | 
| 62 | 
  | 
        painCave.isFatal = 0; | 
| 63 | 
  | 
        simError();       | 
| 64 | 
+ | 
        forcePolicy = (ForceSubstractionPolicy*) new PolicyByMass(this); | 
| 65 | 
  | 
      }    | 
| 66 | 
  | 
    } | 
| 67 | 
  | 
  } | 
| 250 | 
  | 
          (*parameters)[i].zPos = COM[whichDirection]; | 
| 251 | 
  | 
 | 
| 252 | 
  | 
          sprintf( painCave.errMsg, | 
| 253 | 
< | 
                     "ZConstraint warningr: Does not specify zpos for z-constraint molecule " | 
| 253 | 
> | 
                     "ZConstraint warning: Does not specify zpos for z-constraint molecule " | 
| 254 | 
  | 
                     "initial z coornidate will be used \n"); | 
| 255 | 
  | 
           painCave.isFatal = 0; | 
| 256 | 
  | 
           simError();   |