Coverage for planit/eos/rhoUtable.py: 100%
12 statements
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-11 15:42 +0000
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-11 15:42 +0000
1"""
2 planit rho-U / HM80 table wrapper functions
3"""
5from ..main import *
6#from .eos_table import *
7from .eostab_extension import *
10def loadrhoUEOS(eos='HM80-HHe-v2.0', eostype='HM80', debug = False):
11 """
12 READ IN rhoU tabulated EOS and fill the extEOStable class object
14 Returns: EOStable
15 """
17 NewEOS = EOStable() # make new empty EOS object
19 if eos == 'HM80-HHe-v2.0':
20 eosdir = eospath + 'HM80_HHe/'
21 NewEOS.womaID = 200
22 NewEOS.VERSION = 2.0
23 NewEOS.loadrhoUtable(eosdir+'HM80_HHe_extended.txt')
25 NewEOS.TYPE = eostype
27 NewEOS.MODELNAME = eos
29 return NewEOS