Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented Oct 2, 2022

Aided by the incorporation of libst, I am creating a placeholder for developing one-dimensional Euler solver by using the conservation element and solution element (CESE) method.

It is unfortunate that the template generalization made in libst actually got in the way for making the system solver! Fortunately, it is a rare opportunity to have a living demonstration for how a bad abstraction layer hurts. I kept the unsuccessful porting from the scalar solver to the system solve in modmesh::spacetime::BadEuler1DSolver. The working solver is modmesh::onedim::Euler1DSolver.

The prototype solver probably does not provide correct answer, but it looks right. I will refine it later on.

The added code is unnecessarily long. It probably does not make sense for anyone else to review it.

The equations are not implemented correctly.  It is too hard because the spacetime abstraction layer is a mess.
@yungyuc yungyuc added the enhancement New feature or request label Oct 2, 2022
@yungyuc yungyuc merged commit 063bebd into solvcon:master Oct 2, 2022
@yungyuc yungyuc deleted the feature/onedim-euler branch October 2, 2022 08:41
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