Skip to main content

calculate_structural_pattern_jvp_with_context

Function calculate_structural_pattern_jvp_with_context 

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

Calculate a structural JVP with a bounded execution context.

ยงErrors

Returns StructuralPatternError for invalid inputs or tangent shape.