Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Make homogenization optional #369

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Conversation

samwaseda
Copy link
Member

Since homogenisation always has the same arguments, I made them optional.

Before:

homogenization = pr.continuum.damask.Homogenization(method='SX', 
                                                     parameters={'N_constituents': 1,
                                                                 "mechanical": {"type": "pass"}})

Now:

homogenization = pr.continuum.damask.Homogenization()

And as always, you can still use the earlier commands.

Base automatically changed from restructure_damask_input to main September 6, 2024 13:04
@samwaseda samwaseda merged commit 4383091 into main Sep 6, 2024
5 checks passed
@samwaseda samwaseda deleted the make_homogenization_optional branch September 6, 2024 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant