Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subdirectory in Source/Matter and add to GNUmake files #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
1 participant