Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ logs*
*.DS_Store
*.so
.DS_Store

*vscode*
*pycache*
73 changes: 73 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"files.associations": {
"array": "cpp",
"vector": "cpp",
"map": "cpp",
"set": "cpp",
"string": "cpp",
"string_view": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"__bit_reference": "cpp",
"__config": "cpp",
"__debug": "cpp",
"__errc": "cpp",
"__hash_table": "cpp",
"__locale": "cpp",
"__mutex_base": "cpp",
"__node_handle": "cpp",
"__split_buffer": "cpp",
"__threading_support": "cpp",
"__tree": "cpp",
"__verbose_abort": "cpp",
"atomic": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"cfenv": "cpp",
"charconv": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"exception": "cpp",
"forward_list": "cpp",
"fstream": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"list": "cpp",
"locale": "cpp",
"mutex": "cpp",
"new": "cpp",
"optional": "cpp",
"ostream": "cpp",
"queue": "cpp",
"ratio": "cpp",
"regex": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"typeinfo": "cpp",
"variant": "cpp",
"algorithm": "cpp"
}
}
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_subdirectory(src/core)
add_subdirectory(src/quadratic_spline_surface)
add_subdirectory(src/contour_network)
add_subdirectory(src/clough_tocher_patches)
target_include_directories(QuadraticContoursCoreLib PUBLIC ${PROJECT_SOURCE_DIR}/ext )
add_library(QuadraticContoursLib INTERFACE)
target_link_libraries(QuadraticContoursLib INTERFACE
QuadraticContoursCoreLib
QuadraticSplineSurfaceLib
ContourNetworkLib
CloughTocherPatchLib
)

# Build utility library
Expand Down
23 changes: 23 additions & 0 deletions src/clough_tocher_patches/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
add_library(CloughTocherPatchLib
clough_tocher_patch.hpp
clough_tocher_patch.cpp
clough_tocher_autogen_matrix_coeffs.hpp
clough_tocher_matrices.cpp
clough_tocher_surface.cpp
clough_tocher_autogen_constraint_matrices.hpp
clough_tocher_constraint_matrices.hpp
clough_tocher_constraint_matrices.cpp
)
target_include_directories(CloughTocherPatchLib PUBLIC .)
target_link_libraries(CloughTocherPatchLib PUBLIC
QuadraticContoursCoreLib
QuadraticSplineSurfaceLib
)
target_compile_definitions(CloughTocherPatchLib PUBLIC
SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG
# SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_OFF
)

target_compile_options(CloughTocherPatchLib PRIVATE
-Wall -Wpedantic -Wextra -Werror
)
Loading