Changeset 9c02a8
- Timestamp:
- Oct 10, 2016, 9:34:57 PM (8 years ago)
- Branches:
- Fix_FitPartialCharges
- Children:
- 4933e4
- Parents:
- 9bb6e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/FitFragmentPartialChargesAction.cpp
r9bb6e3 r9c02a8 662 662 // set up matrix and calculate residual 663 663 PartialNucleiChargeFitter fitter(fullpotential, fullpositions, params.radius.get()); 664 VectorContent potential_norm = fitter.calculateResiduum(); 664 665 if (!fitter.setCharges(fullcharges)) { 665 666 ELOG(1, "fullcharges and fullpositions do not coincide in size, internal error."); … … 668 669 VectorContent residuum = fitter.calculateResiduum(); 669 670 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()); 671 673 } 672 674 }
Note:
See TracChangeset
for help on using the changeset viewer.