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

Commit

Permalink
update notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Sep 3, 2024
1 parent 202350f commit 0e3f91a
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 202 deletions.
14 changes: 7 additions & 7 deletions notebooks/damask/elastoplasticity_isotropic.ipynb

Large diffs are not rendered by default.

72 changes: 13 additions & 59 deletions notebooks/damask/elastoplasticity_powerlaw.ipynb

Large diffs are not rendered by default.

26 changes: 12 additions & 14 deletions notebooks/damask/linearelastic.ipynb

Large diffs are not rendered by default.

32 changes: 15 additions & 17 deletions notebooks/damask/multiplerolling.ipynb

Large diffs are not rendered by default.

204 changes: 101 additions & 103 deletions notebooks/damask/tutorial.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyiron_continuum/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def material(rotation, elements, phase, homogenization):
return DAMASKCreator.material(rotation, elements, phase, homogenization)

@staticmethod
def phase(composition, lattice, elasticity, plasticity, output_list=None):
def phase(composition, elasticity, plasticity=None, lattice=None, output_list=None):
warnings.warn(
"Setting phase via project creator is deprecated. Use job.set_phase instead"
)
Expand Down
2 changes: 1 addition & 1 deletion pyiron_continuum/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def Homogenization(method, parameters):
return DAMASKCreator.homogenization(method, parameters)

@staticmethod
def Phase(composition, lattice, elasticity, plasticity, output_list=None):
def Phase(composition, elasticity, plasticity=None, lattice=None, output_list=None):
"""
returns a dictionary describing the phases for damask
Args:
Expand Down

0 comments on commit 0e3f91a

Please sign in to comment.