combining_rules
despasito.equations_of_state.eos_toolbox.combining_rules
- combining_rules(beadA, beadB, parameter, function='mean', **kwargs)[source]
Calculates cross interaction parameter according to the calculation method defined.
- Parameters:
beadA (dict) – Dictionary of parameters used to describe a bead
beadB (dict) – Dictionary of parameters used to describe a bead
parameter (str) – Name of parameter for which a mixed value is needed
function (str, Optional, default=mean) – Mixing rule function found in despasito.equations_of_state.combining_rule_types.py
kwargs – Keyword arguments used in other averaging function
- Returns:
output_dict – Dictionary with keyword of parameter and mixed interaction parameter. If combining rule type outputs more than one updated variable, it will also be included
- Return type:
dict