Skip to main content

calculate_structural_pattern_jvp

Function calculate_structural_pattern_jvp 

Source
pub fn calculate_structural_pattern_jvp(
    cell: UnitCell,
    space_group: &SpaceGroup,
    input: &StructuralPatternInputView<'_>,
    tangent: &[f64],
) -> Result<StructuralPatternJvpResult, StructuralPatternError>
Expand description

Calculate a full structural-pattern JVP without a dense pattern Jacobian.

ยงErrors

Returns StructuralPatternError for invalid inputs or structural tangent.