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.