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
8 lines
196 B
Python
8 lines
196 B
Python
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() |