Skip to main content

combine

Function combine 

Source
pub fn combine(
    material: &Material,
    atoms: &[AtomicElastic],
    probability: &[f64],
    refine_tolerance: Option<f64>,
) -> Result<CrossSectionTable, ElasticTableError>
Expand description

Combine atomic results into the elastic table of material by independent-atom additivity (module docs). atoms must hold every component of material with a non-zero atom fraction, all on the same energy grid, potential and solver settings. probability is the probability grid, used as given when refine_tolerance is None and as the starting grid of the adaptive refinement otherwise (see ElasticTableOptions::refine_tolerance).