|
| | SolvationContribution ()=default |
| |
| void | add_energy (std::string_view channel, double value, bool is_forward=true) |
| |
| void | add_descriptor (std::string_view channel, double value, bool is_forward=true) |
| |
| const ContributionPair & | energy (std::string_view channel) const |
| | Zero pair when the channel was never written.
|
| |
| const ContributionPair & | descriptor (std::string_view channel) const |
| |
| std::vector< std::string > | energy_channels () const |
| |
| std::vector< std::string > | descriptor_channels () const |
| |
| double | total_energy () const |
| | Sum over every energy channel, with the antisymmetric correction when enabled.
|
| |
| double | forward_energy () const |
| | Summed over every energy channel, without the antisymmetric correction.
|
| |
| double | reverse_energy () const |
| |
| void | exchange_with (SolvationContribution &other) |
| |
| bool | has_been_exchanged () const |
| |
| bool | antisymmetrize () const |
| |
| void | set_antisymmetrize (bool on) |
| |
| void | add_coulomb (double value, bool is_forward=true) |
| |
| void | add_cds (double value, bool is_forward=true) |
| |
| void | add_coulomb_area (double value, bool is_forward=true) |
| |
| void | add_cds_area (double value, bool is_forward=true) |
| |
| const ContributionPair & | coulomb () const |
| |
| const ContributionPair & | cds () const |
| |
| const ContributionPair & | coulomb_area () const |
| |
| const ContributionPair & | cds_area () const |
| |
Solvation attributed to one neighbour contact, as a set of named channels.
Channels are open-ended so a solvation model can carry whatever it produces: SMD uses electrostatic and cds, the σ-potential model uses dielectric and residual plus descriptors like hbond_area. Adding a channel needs no change here, in the partitioner, or in the exchange logic.
Energies are summed into total_energy(); descriptors (areas, per-contact diagnostics) are carried and exchanged the same way but never summed into an energy.