<![CDATA[Multiwfn forum / ESP fitting with charge constraints to reproduce dipole moment]]> //www.umsyar.com/wfnbbs/viewtopic.php?id=684 The most recent posts in ESP fitting with charge constraints to reproduce dipole moment. Wed, 22 Jun 2022 15:37:38 +0000 FluxBB <![CDATA[Re: ESP fitting with charge constraints to reproduce dipole moment]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2562#p2562

You need to slightly modify code of constructing A and B matrices in ESP fitting code (subroutine fitESP in population.f90).
This feature was not directly supported by Multiwfn because ESP fitting charges can always well reproduce dipole moment, therefore imposing this constraint is redundant.

dummy@example.com (sobereva) Wed, 22 Jun 2022 15:37:38 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2562#p2562
<![CDATA[ESP fitting with charge constraints to reproduce dipole moment]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2561#p2561

Dear all,

I want to run ESP fitting imposing constraints so that the final charges reproduce the dipole moment. In principle, this is achievable using charge constraints, adding three constraint (one for each cartesian component of the dipole moment) like this:

\sum_i r_{ij} q_{i} = \mu_{j}

where r_{ij} is the j-th component of the position of the i-th atom, q_i is the charge on i-th atom and \mu_j is the j-th component of the dipole moment.

With reference to chapter 3.9.16.1 of the Multiwfn guide, one would need to add atomic coordinates in matrix A and the dipole moment components in matrix B.

Is this achievable in Multiwfn? Can I input values different from 0 and 1 to matrix A?

dummy@example.com (Repetto) Wed, 22 Jun 2022 10:06:55 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2561#p2561
Baidu
map