Changeset e6a2ef for src/Potentials/PartialNucleiChargeFitter.hpp
- Timestamp:
- Mar 24, 2017, 10:12:23 AM (8 years ago)
- Branches:
- FitPartialCharges_GlobalError
- Children:
- fa2c89
- Parents:
- a3d08c
- git-author:
- Frederik Heber <heber@…> (10/10/16 12:34:32)
- git-committer:
- Frederik Heber <heber@…> (03/24/17 10:12:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/PartialNucleiChargeFitter.hpp
ra3d08c re6a2ef 105 105 charges_t getSolutionAsCharges_t() const; 106 106 107 /** Helper function to construct the discretized Coulomb operator for the 108 * nuclei charges. 109 * 110 */ 107 111 void writeMatrix(); 112 113 /** Setter for solution as charges_t 114 * 115 * \param _charges solution vector x as type charges_t 116 * \return false - if charges does not match in size with internal positions 117 */ 118 bool setCharges(const charges_t &_charges); 119 120 /** Calculates the residuum for the currently set charges. 121 * 122 * \return residual for every charge 123 */ 124 VectorContent calculateResiduum(); 108 125 109 126 private: … … 132 149 const Vector &grid_position) const; 133 150 151 /** Helper function to allocate memory for charges. 152 * 153 * \param _size size to allocate 154 */ 155 void prepareCharges(const size_t _size); 156 134 157 private: 135 158 //!> grid dimensions per axis for internal use
Note:
See TracChangeset
for help on using the changeset viewer.