Skip to content

Commit

Permalink
files: add Materials
Browse files Browse the repository at this point in the history
  • Loading branch information
skim0119 committed Jul 12, 2024
1 parent b393ab0 commit 946459a
Show file tree
Hide file tree
Showing 5 changed files with 2,520 additions and 0 deletions.
11 changes: 11 additions & 0 deletions backend/src/Simulator/Materials.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

//******************************************************************************
// Includes
//******************************************************************************

// Forward declarations come first
#include "Simulator/Materials/Types.hpp"
//
#include "Simulator/Materials/Materials.hpp"
// any pre-registered materials (like biological etc.)
27 changes: 27 additions & 0 deletions backend/src/Simulator/Materials/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Distributed under the MIT License. See LICENSE.txt for details.

set(LIBRARY Materials)

add_elastica_library(${LIBRARY})

elastica_target_headers(
${LIBRARY}
INCLUDE_DIRECTORY ${CMAKE_SOURCE_DIR}/elastica
PUBLIC
Materials.hpp
Types.hpp
)

elastica_target_sources(
${LIBRARY}
PRIVATE
Materials.cpp
)

target_link_libraries(
${LIBRARY}
PUBLIC
Blaze
ErrorHandling
Utilities
)
Loading

0 comments on commit 946459a

Please sign in to comment.