Skip to content
Merged
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
1 change: 1 addition & 0 deletions src/Evolution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ target_link_libraries(
INTERFACE
Observer
Parallel
ParallelArrayCollection
SystemUtilities
)

Expand Down
2 changes: 1 addition & 1 deletion src/Evolution/DiscontinuousGalerkin/DgElementArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "Domain/Tags/ElementDistribution.hpp"
#include "Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp"
#include "Parallel/Algorithms/AlgorithmArray.hpp"
#include "Parallel/CreateElementsUsingDistribution.hpp"
#include "Parallel/ArrayCollection/CreateElementsUsingDistribution.hpp"
#include "Parallel/GlobalCache.hpp"
#include "Parallel/Info.hpp"
#include "Parallel/Local.hpp"
Expand Down
21 changes: 20 additions & 1 deletion src/Parallel/ArrayCollection/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Distributed under the MIT License.
# See LICENSE.txt for details.

add_subdirectory(Tags)
set(LIBRARY ParallelArrayCollection)

add_spectre_library(${LIBRARY})

spectre_target_headers(
${LIBRARY}
INCLUDE_DIRECTORY ${CMAKE_SOURCE_DIR}/src
HEADERS
CreateElementCollection.hpp
CreateElementsUsingDistribution.hpp
DgElementArrayMember.hpp
DgElementArrayMemberBase.hpp
DgElementCollection.hpp
Expand All @@ -28,3 +31,19 @@ spectre_target_sources(
PRIVATE
DgElementArrayMemberBase.cpp
)

target_link_libraries(
${LIBRARY}
PUBLIC
DataStructures
DomainStructure
ErrorHandling
Parallel
Serialization
Utilities
INTERFACE
Domain
DomainCreators
)

add_subdirectory(Tags)
2 changes: 1 addition & 1 deletion src/Parallel/ArrayCollection/CreateElementCollection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
#include "Domain/Tags/ElementDistribution.hpp"
#include "Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp"
#include "Parallel/AlgorithmExecution.hpp"
#include "Parallel/ArrayCollection/CreateElementsUsingDistribution.hpp"
#include "Parallel/ArrayCollection/SpawnInitializeElementsInCollection.hpp"
#include "Parallel/ArrayCollection/Tags/ElementCollection.hpp"
#include "Parallel/ArrayCollection/Tags/ElementLocations.hpp"
#include "Parallel/ArrayCollection/Tags/NumberOfElementsTerminated.hpp"
#include "Parallel/CreateElementsUsingDistribution.hpp"
#include "Parallel/GlobalCache.hpp"
#include "Parallel/Info.hpp"
#include "Parallel/Local.hpp"
Expand Down
6 changes: 3 additions & 3 deletions src/Parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ spectre_target_headers(
Callback.hpp
CharmMain.tpp
CharmRegistration.hpp
CreateElementsUsingDistribution.hpp
CreateFromOptions.hpp
DistributedObject.hpp
DomainDiagnosticInfo.hpp
Expand Down Expand Up @@ -63,17 +62,18 @@ spectre_target_headers(
TypeTraits.hpp
)

# Depends only on relatively low-level libraries so that compiling small
# executables (and low-level unit tests) doesn't require building the entire
# code base. E.g. doesn't depend on Domain.
target_link_libraries(
${LIBRARY}
INTERFACE
Boost::boost
Boost::program_options
DataStructures
Domain
Informer
PUBLIC
Charmxx::charmxx
DomainStructure
ErrorHandling
Options
Printf
Expand Down
Loading