Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecule_dynamics.cpp

    r543ce4 r3d4969  
    307307    if (Params.DoubleList[i] > 1) {
    308308      eLog() << Verbose(0) << "Failed to create an injective PermutationMap!" << endl;
    309       exit(1);
     309      performCriticalExit();
    310310    }
    311311  Log() << Verbose(1) << "done." << endl;
     
    428428            }
    429429            if (Potential > Params.PenaltyConstants[2]) {
    430               eLog() << Verbose(0) << "ERROR: The two-step permutation procedure did not maintain injectivity!" << endl;
     430              eLog() << Verbose(1) << "The two-step permutation procedure did not maintain injectivity!" << endl;
    431431              exit(255);
    432432            }
    433433            //Log() << Verbose(0) << endl;
    434434          } else {
    435             eLog() << Verbose(0) << "ERROR: " << *Runner << " was not the owner of " << *Sprinter << "!" << endl;
     435            eLog() << Verbose(1) << *Runner << " was not the owner of " << *Sprinter << "!" << endl;
    436436            exit(255);
    437437          }
     
    569569    if (!Force.ParseMatrix(file, 0,0,0)) {
    570570      eLog() << Verbose(0) << "Could not parse Force Matrix file " << file << "." << endl;
     571      performCriticalExit();
    571572      return false;
    572573    }
    573574    if (Force.RowCounter[0] != AtomCount) {
    574575      eLog() << Verbose(0) << "Mismatch between number of atoms in file " << Force.RowCounter[0] << " and in molecule " << AtomCount << "." << endl;
     576      performCriticalExit();
    575577      return false;
    576578    }
Note: See TracChangeset for help on using the changeset viewer.