pub struct HybridConfig {
pub protein_scheme: ProteinScheme,
pub nucleic_scheme: NucleicScheme,
pub water_scheme: WaterScheme,
pub ligand_configs: Vec<LigandChargeConfig>,
pub default_ligand_method: LigandQeqMethod,
}Expand description
Configuration for hybrid biological/QEq charge assignment.
Specifies how charges are assigned to different molecule types in a biological system. Standard residues (proteins, nucleic acids, water, ions) receive classical force field charges, while hetero groups (ligands) use QEq methods (vacuum or embedded).
§Molecule Classification
The hybrid method classifies atoms based on ResidueCategory:
| Category | Charge Source |
|---|---|
| Standard amino acid | protein_scheme |
| Standard nucleotide | nucleic_scheme |
| Water (HOH) | water_scheme |
| Ion | Formal charges (classical) |
| Hetero | Per-ligand or default_ligand_method |
Fields§
§protein_scheme: ProteinSchemeForce field scheme for protein residue charges.
Default is ProteinScheme::AmberFFSB (AMBER ff99SB/ff14SB/ff19SB).
nucleic_scheme: NucleicSchemeForce field scheme for nucleic acid residue charges.
Default is NucleicScheme::Amber (AMBER OL15/OL21/OL24/bsc1/OL3).
water_scheme: WaterSchemeWater model for solvent charges.
Default is WaterScheme::Tip3p.
ligand_configs: Vec<LigandChargeConfig>Per-ligand charge configuration overrides.
Each entry specifies a residue selector and the QEq method to use
for that specific ligand. Ligands not listed here will use
default_ligand_method.
default_ligand_method: LigandQeqMethodDefault QEq method for ligands not in ligand_configs.
Default is LigandQeqMethod::Embedded with 10 Å cutoff and neutral
total charge.
Trait Implementations§
Source§impl Clone for HybridConfig
impl Clone for HybridConfig
Source§fn clone(&self) -> HybridConfig
fn clone(&self) -> HybridConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HybridConfig
impl Debug for HybridConfig
Auto Trait Implementations§
impl Freeze for HybridConfig
impl RefUnwindSafe for HybridConfig
impl Send for HybridConfig
impl Sync for HybridConfig
impl Unpin for HybridConfig
impl UnwindSafe for HybridConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.