updated the units section, to display latex style text

This commit is contained in:
Brantegger Georg
2022-06-20 11:23:05 +02:00
parent 1578080072
commit 981b099673

View File

@@ -1,12 +1,13 @@
from Ausgleichsbecken import FODE_function, get_h_halfstep, get_p_halfstep from Ausgleichsbecken import FODE_function, get_h_halfstep, get_p_halfstep
class Ausgleichsbecken_class: class Ausgleichsbecken_class:
# units # units
area_unit = 'm^2' area_unit = r'$\mathrm{m}^2$'
area_outflux_unit = 'm^2' area_outflux_unit = r'$\mathrm{m}^2$'
level_unit = 'm' level_unit = 'm'
volume_unit = 'm^3' volume_unit = r'$\mathrm{m}^3$'
flux_unit = 'm^3/s' flux_unit = r'$\mathrm{m}^3/\mathrm{s}$'
time_unit = 's' time_unit = 's'
pressure_unit = 'Pa'
# init # init
def __init__(self,area,outflux_area,level_min,level_max,timestep = 1): def __init__(self,area,outflux_area,level_min,level_max,timestep = 1):