sarkas.tools.transport.Viscosity.calculate_average_temperature#

Viscosity.calculate_average_temperature(params)#

Calculate the average temperature from the sarkas.tools.observables.Thermodynamics data. It updates the beta_slice attribute.

Parameters

params (sarkas.core.Parameters) – Simulation parameters.