Skip to main content

calculate_structural_pattern_with_context

Function calculate_structural_pattern_with_context 

Source
pub fn calculate_structural_pattern_with_context(
    cell: UnitCell,
    space_group: &SpaceGroup,
    input: &StructuralPatternInputView<'_>,
    execution: &ExecutionContext,
) -> Result<StructuralPatternResult, StructuralPatternError>
Expand description

Calculate a structural pattern with an explicit bounded execution context.

ยงErrors

Returns StructuralPatternError for invalid inputs.