Skip to main content

compute_eht_or_uff_fallback

Function compute_eht_or_uff_fallback 

Source
pub fn compute_eht_or_uff_fallback(
    smiles: &str,
    elements: &[u8],
    positions: &[[f64; 3]],
    allow_experimental_eht: bool,
) -> Result<ElectronicWorkflowResult, String>
Expand description

Compute electronic properties with automatic fallback to UFF energy.

If EHT is unsupported for the element set, this function routes directly to UFF. If EHT is experimental and allow_experimental_eht is false, it also routes to UFF.