Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented May 7, 2022

modmesh::StaticMesh was a template and I thought it may provide opportunities to optimize based on the dimensionality (2D/3D). However it makes scripting complicated because there needs to be two StaticMesh classes in Python (StaticMesh2d and StaticMesh3d).

Perhaps it should not be so complicated? This PR attempts to remove the template and see how it looks in Python. Since we do not have any benchmarking, the performance consideration will be put aside for a while.

yungyuc added 2 commits May 7, 2022 21:43
Move big member functions to cpp files.  That is, modmesh is no longer a
header-only library.  Maybe some parts in modmesh can be header only, but it
may not be the mesh.

Also, update viewer to use the class-version StaticMesh.
@yungyuc yungyuc added the enhancement New feature or request label May 7, 2022
@yungyuc yungyuc self-assigned this May 7, 2022
@yungyuc yungyuc marked this pull request as draft May 7, 2022 13:54
@yungyuc yungyuc marked this pull request as ready for review May 7, 2022 14:46
@yungyuc yungyuc merged commit 0db68b8 into solvcon:master May 8, 2022
@yungyuc yungyuc deleted the feature/mesh-single-class branch May 8, 2022 00:09
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