Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented Oct 8, 2022

Rename the C++ class implementing the 1D CESE method for the Euler equations to Euler1DCore, denoting the calculation core. Make a new Python class named like the old C++ class: Euler1DSolver, working as the middle layer in Python.

The Python middle layer allows us to implementing logic that does not need the speed of C++ (not in a tight loop, or Python/numpy is sufficiently fast) in Python. Being able to write Python significantly help coding productivity.

Add helper functions for setting up the Sod's shock tube problem.
The word "core" means it is the computing core.  I use "kernel" to refer to different constructs and they should not be interchangeable.

I plan to use the word "solver" for high-level construct that is in Python, not in C++.
Currently the package modmesh.onedim contains a single solver for the Euler equations.  Later we can add solvers for other equations.
@yungyuc yungyuc added the enhancement New feature or request label Oct 8, 2022
@yungyuc yungyuc merged commit 20d55f5 into solvcon:master Oct 8, 2022
@yungyuc yungyuc deleted the feature/onedim-interface branch October 8, 2022 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant