Write new materials and access them from input files without modifying serac
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 245
- Forks
- 36
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 4
Description
It would be useful if users could create their own material types and get the benefits of an input deck.
From @samuelpmish https://github.com/LLNL/serac/pull/1001#discussion_r1406723165
> For example (although not necessarily a good implementation), instead of a std::variant, we could have a user-extendable std::map > of callbacks. After reading the name of the material model, it would invoke the callback in that std::map (where the user could write code to set up their custom material model, and then register it to the physics module with setMaterial).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the discussion on pull request #1001, then trace how material names are read from input files and how material models are registered. Done means users can define and register custom material types, access them through an input deck, and do so without modifying the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100