-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description:
Implement a flexible system for applying external electric fields to the charge equilibration process. This feature allows the solver to account for environmental electrostatics—such as protein pockets (via point charges) or applied fields (via uniform vectors)—effectively modifying the effective electronegativity of atoms. This enables "QEq/MM" hybrid calculations, solving convergence issues for large systems by treating the environment as a fixed external potential while maintaining rigorous STO shielding for close-range interactions.
Tasks:
-
Core Data Structures
- Define
ExternalAtomstruct (position, charge, atomic_number). - Define
ExternalFieldstruct (point_charges, uniform_field). - Implement builder pattern for ergonomic API usage.
- Define
-
Physics Engine
- Implement
calculate_external_potentiallogic. - Integrate STO shielding lookup for external atoms (using internal
Parametersfor radii). - Implement uniform field potential calculation (
$V = -\vec{E} \cdot \vec{r}$ ).
- Implement
-
Solver Integration
- Extend
QEqSolverwithsolve_with_fieldmethod. - Modify the RHS vector construction to include external potential terms ($D_i = -(\chi_i^0 + V_i^{ext})$).
- Ensure matrix dimensions remain invariant (performance optimization).
- Extend
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement ✨New feature or requestNew feature or request
Type
Projects
Status
Done