-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how the app works #11
Comments
Can you confirm my interpretation please ? Primary input is the Mach number:
Where specifically:
PrandtlMeyerExpansion fan:
|
Correct. Isentropic, expansion, normal shocks, obliques shocks are all different flow states with particular formulae. The text book example is a flow through a shock tube.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The app was built on Qt4, and later upgraded to Qt5 rather seamlessly. I can explain what goes on and ideally it should have been documented somewhere. The call tree goes like this
caeroc/pyproject.toml
Line 33 in 0ae3f21
caeroc/src/caeroc/cli.py
Lines 5 to 12 in 0ae3f21
via this launch function
caeroc/src/caeroc/__init__.py
Lines 34 to 37 in 0ae3f21
via the run method
caeroc/src/caeroc/gui/__init__.py
Lines 11 to 21 in 0ae3f21
The
run
method initializes the app. The classCalcApp
merely exists to swap between PyQt5 or PySide2, based on what is installed.All user interactions are channeled through the methods in
runtime.py
which are decorated with@Slot
.P.S.: not important, but a development detail. The UI is designed using Qt Designer which let's one save it as an XML file, named
base.ui
here. Running a small script calledconfigure
provided in the same directory produces frombase.ui
, the filesbase_pyqt.py
&base_pyside2.py
which is the equivalent Python code for PyQt and PySide2 respectively.Originally posted by @ashwinvis in #10 (comment)
The text was updated successfully, but these errors were encountered: