Ignore:
Timestamp:
Oct 10, 2016, 12:34:32 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPartialCharges
Children:
eb40e3
Parents:
213f9d
Message:

Extracted PartialNucleiChargeFitter::calculateResiduum().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Potentials/PartialNucleiChargeFitter.hpp

    r213f9d rfdc567  
    105105   charges_t getSolutionAsCharges_t() const;
    106106
     107   /** Helper function to construct the discretized Coulomb operator for the
     108    * nuclei charges.
     109    *
     110    */
    107111   void writeMatrix();
     112
     113   /** Setter for solution as charges_t
     114    *
     115    * \param _charges solution vector x as type charges_t
     116    */
     117   void setCharges(const charges_t &_charges) const;
     118
     119   /** Calculates the residuum for the currently set charges.
     120    *
     121    * \return residual for every charge
     122    */
     123   VectorContent calculateResiduum();
    108124
    109125private:
Note: See TracChangeset for help on using the changeset viewer.