Skip to content

Introduce material manager#115

Merged
sanathkeshav merged 7 commits intodevelopfrom
feat-individual-mats
Nov 14, 2025
Merged

Introduce material manager#115
sanathkeshav merged 7 commits intodevelopfrom
feat-individual-mats

Conversation

@sanathkeshav
Copy link
Member

@sanathkeshav sanathkeshav commented Nov 12, 2025

We introduce an abstraction layer between the material models and the solver via the MaterialManager class. At the heart of it, the material manager controls (possibly) multiple material models within the microstructure. Phases that are represented with different labels in the microstructure image could belong to different material classes.

This PR also introduces a change in the way material model information is prescribed in the input JSON, which is documented in the README. But I quietly support the old way of prescribing the material information for now to maintain backward compatibility.

This would also address and hopefully close #49.

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@sanathkeshav sanathkeshav marked this pull request as ready for review November 13, 2025 13:37
@sanathkeshav sanathkeshav self-assigned this Nov 13, 2025
@sanathkeshav sanathkeshav merged commit f33efb9 into develop Nov 14, 2025
8 checks passed
@sanathkeshav sanathkeshav deleted the feat-individual-mats branch November 14, 2025 06:29
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.

Feature Request: Switch up order of parameter / material_id in json

1 participant