feat(pythonInterface/polytrope): added initial polytrope implimentation to the python interface
currently this can only interface with polySolver; however, it does work 100% to run a model. The biggest caveat is that at this time there is no way to get the actual results out of the model other than to visualize them in GLVis or use the limited output dumped in the output directory
This commit is contained in:
8
tests/python/polytrope/runPolytrope.py
Normal file
8
tests/python/polytrope/runPolytrope.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from serif import config
|
||||
from serif.polytrope import PolySolver
|
||||
|
||||
config.loadConfig('../../testsConfig.yaml')
|
||||
n = config.get("Tests:Poly:Index", 0.0)
|
||||
|
||||
polytrope = PolySolver(n, 1)
|
||||
polytrope.solve()
|
||||
Reference in New Issue
Block a user