Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/duxingyi-charles/Robust-Implicit-Surface-Networks
10 May 2026, 01:34:29 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • refs/heads/qnzhou/corner_cases
    No releases to show
  • a3730c9
  • /
  • CMakeLists.txt
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:fee026fdc1d608528bdd92d2a2b743480a99acd5
origin badgedirectory badge
swh:1:dir:a3730c9d6b74c057a026e6809063ec75d9ea430d
origin badgerevision badge
swh:1:rev:fb6f7734d768329946ad26ab0798954c63b6bd33
origin badgesnapshot badge
swh:1:snp:f672d4d3fe9fc55c11aff87eeef9bbc0fb3c390f

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: fb6f7734d768329946ad26ab0798954c63b6bd33 authored by Qingnan Zhou on 20 November 2024, 19:25:11 UTC
Build cleanup (#17)
Tip revision: fb6f773
CMakeLists.txt
cmake_minimum_required(VERSION 3.14)

project(robust_implicit_networks LANGUAGES CXX C)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
include(cli11)
include(nlohmann-json)
include(Eigen3)
include(mshio)
include(filesystem)
include(implicit_functions)
include(absl)
include(simplicial_arrangement)


# project library
file(GLOB SRC_FILES ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp ${CMAKE_CURRENT_LIST_DIR}/src/*.h)

add_library(robust_implicit_networks STATIC ${SRC_FILES})
target_include_directories(robust_implicit_networks PUBLIC
     ${CMAKE_CURRENT_LIST_DIR}/src)
target_compile_features(robust_implicit_networks PRIVATE cxx_std_20)
if (WIN32)
    target_compile_definitions(robust_implicit_networks PRIVATE NOMINMAX)
endif()
target_link_libraries(robust_implicit_networks PUBLIC
    simplicial_arrangement::simplicial_arrangement
    Eigen3::Eigen
    nlohmann_json::nlohmann_json
    absl::flat_hash_map
    absl::flat_hash_set
    mshio::mshio ghc::filesystem)


add_executable(impl_arrangement "app/implicit_arrangement.cpp")
target_compile_features(impl_arrangement PRIVATE cxx_std_20)
target_link_libraries(impl_arrangement simplicial_arrangement::simplicial_arrangement
    CLI11::CLI11 Eigen3::Eigen
    robust_implicit_networks implicit_functions::implicit_functions)

add_executable(csg "app/csg.cpp")
target_compile_features(csg PRIVATE cxx_std_20)
target_link_libraries(csg simplicial_arrangement::simplicial_arrangement
    CLI11::CLI11 Eigen3::Eigen
    robust_implicit_networks implicit_functions::implicit_functions)

 add_executable(material_interface "app/material_interface.cpp")
 target_compile_features(material_interface PRIVATE cxx_std_20)
 target_link_libraries(material_interface simplicial_arrangement::simplicial_arrangement
     CLI11::CLI11 Eigen3::Eigen
     robust_implicit_networks implicit_functions::implicit_functions)

option(IMPLICIT_NETWORK_UNIT_TESTS "Build implicit network unit tests" Off)
if (IMPLICIT_NETWORK_UNIT_TESTS)
    include(CTest)
    enable_testing()
    include(Catch2)

    file(GLOB TEST_FILES "${CMAKE_CURRENT_LIST_DIR}/tests/*.cpp")
    add_executable(implicit_network_tests ${TEST_FILES})
    target_link_libraries(implicit_network_tests PRIVATE
             Catch2::Catch2 simplicial_arrangement::simplicial_arrangement
             Eigen3::Eigen robust_implicit_networks implicit_functions::implicit_functions)
    target_compile_features(implicit_network_tests PRIVATE cxx_std_20)
    target_compile_definitions(implicit_network_tests PRIVATE
        -DTEST_FILE="${CMAKE_CURRENT_LIST_DIR}/examples/tests"
    )
    catch_discover_tests(implicit_network_tests)
endif()

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API