Skip to content

Conversation

@AreefW
Copy link
Collaborator

@AreefW AreefW commented Feb 13, 2025

The code breaks when adding new matter types in Source/Matter because the MyMatterFunctions for other matter types are then missing.

To solve this bug, each matter type should be inside its own subdirectory to avoid compiling unused matter classes. Therefore Source/Matter/ScalarField has been added. The path to a specific matter type has to be specified in GNUmakefile for each example.

These changes make it easier and cleaner to add new matter types to Source and then use them in examples.

@AreefW AreefW requested a review from SamuelBrady February 13, 2025 16:37
@AreefW AreefW linked an issue Feb 13, 2025 that may be closed by this pull request
@AreefW AreefW requested a review from JCAurre February 13, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashes when adding new matter

2 participants