Changeset 9c02a8


Ignore:
Timestamp:
Oct 10, 2016, 9:34:57 PM (8 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPartialCharges
Children:
4933e4
Parents:
9bb6e3
Message:

tempcommit: Merge with eaf08f2d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/PotentialAction/FitFragmentPartialChargesAction.cpp

    r9bb6e3 r9c02a8  
    662662      // set up matrix and calculate residual
    663663      PartialNucleiChargeFitter fitter(fullpotential, fullpositions, params.radius.get());
     664      VectorContent potential_norm = fitter.calculateResiduum();
    664665      if (!fitter.setCharges(fullcharges)) {
    665666        ELOG(1, "fullcharges and fullpositions do not coincide in size, internal error.");
     
    668669      VectorContent residuum = fitter.calculateResiduum();
    669670
    670       LOG(1, "INFO: At order " << i+1 << " we have an error of " << residuum.Norm());
     671      LOG(1, "INFO: At order " << i+1 << " we have an error of " << residuum.Norm()
     672          << " against the potential norm of " << potential_norm.Norm());
    671673    }
    672674  }
Note: See TracChangeset for help on using the changeset viewer.