-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit added mesh file io for modmesh, it lets modmesh has capabilty to read third-party mesh generator generated file and convert the content to a data structure that allow modmesh can use it to do some calculation. Currently mesh io only support Gmsh format.
- Loading branch information
Showing
14 changed files
with
959 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
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: |
Oops, something went wrong.