Skip to content
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

add Gmsh mesh file parser #233

Merged
merged 5 commits into from
Jul 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cpp/modmesh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ add_subdirectory(onedim)
add_subdirectory(python)
add_subdirectory(spacetime)
add_subdirectory(view)
add_subdirectory(io)

set(MODMESH_ROOT_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/modmesh.hpp
Expand Down Expand Up @@ -80,6 +81,7 @@ set(MODMESH_TERMINAL_FILES
${MODMESH_ONEDIM_FILES}
${MODMESH_SPACETIME_FILES}
${MODMESH_PYTHON_FILES}
${MODMESH_IO_FILES}
CACHE FILEPATH "" FORCE)

set(MODMESH_GRAPHIC_FILES
Expand Down
23 changes: 23 additions & 0 deletions cpp/modmesh/io/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

io the name conflict with Python io module. It is unnecessary ambiguity. Please rename this directory as inout.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed the module name to inout in 7432534

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

cmake_minimum_required(VERSION 3.16)

set(MODMESH_IO_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/io.hpp
${CMAKE_CURRENT_SOURCE_DIR}/gmsh.hpp
CACHE FILEPATH "" FORCE)

set(MODMESH_IO_PYMODHEADERS
${CMAKE_CURRENT_SOURCE_DIR}/pymod/io_pymod.hpp
CACHE FILEPATH "" FORCE)

set(MODMESH_IO_PYMODSOURCES
${CMAKE_CURRENT_SOURCE_DIR}/pymod/io_pymod.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pymod/wrap_Gmsh.cpp
CACHE FILEPATH "" FORCE)

set(MODMESH_IO_FILES
${MODMESH_IO_HEADERS}
${MODMESH_IO_PYMODHEADERS}
${MODMESH_IO_PYMODSOURCES}
CACHE FILEPATH "" FORCE)
# vim: set ff=unix fenc=utf8 nobomb et sw=4 ts=4 sts=4:
Loading
Loading