make simulator an interface - no binary target#969
make simulator an interface - no binary target#969PhilipDeegan merged 2 commits intoPHAREHUB:masterfrom
Conversation
1cb4560 to
4f846ee
Compare
src/simulator/CMakeLists.txt
Outdated
| phare_diagnostic | ||
| ) | ||
|
|
||
| set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS " ${PHARE_LINK_FLAGS}") |
4f846ee to
7550761
Compare
📝 WalkthroughWalkthroughThe changes introduce a new function Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant PHARE.getSimulator
participant ParamDict
participant SimulatorMaker
Caller->>PHARE.getSimulator: Call getSimulator(hierarchy)
PHARE.getSimulator->>ParamDict: Retrieve simulation parameters (dimension, interpolation order, refined particles)
PHARE.getSimulator->>SimulatorMaker: Create simulator with parameters
SimulatorMaker-->>PHARE.getSimulator: Return unique_ptr to ISimulator
PHARE.getSimulator-->>Caller: Return unique_ptr to ISimulator
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🧰 Additional context used📓 Path-based instructions (1)`**/*.hpp`: Review the C++ code, point out issues relative t...
⏰ Context from checks skipped due to timeout of 90000ms (7)
🔇 Additional comments (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
* make simulator an interface - no binary target * torm
* make simulator an interface - no binary target * torm
It's not necessary for the simulator component to be a library
All the binary was used for is the "makeAtRuntime" stuff which is only used for phare-exe
so I moved it there, which is a compiled binary already
another potential solution for #958 - (appears it is)