You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example (although not necessarily a good implementation), instead of a std::variant, we could have a user-extendable std::map<std::string, std::function< ... > > 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).
The text was updated successfully, but these errors were encountered:
It would be useful if users could create their own material types and get the benefits of an input deck.
From @samuelpmish #1001 (comment)
The text was updated successfully, but these errors were encountered: