Merge branch 'missing-add_strain' into 'development'

missing-add_strain

See merge request damask/DAMASK!559
This commit is contained in:
Martin Diehl 2022-04-12 18:56:42 +00:00
commit 39d79c23b2
1 changed files with 2 additions and 2 deletions

View File

@ -1151,14 +1151,14 @@ class Result:
>>> import damask >>> import damask
>>> r = damask.Result('my_file.hdf5') >>> r = damask.Result('my_file.hdf5')
>>> r.strain(t='U',m=0.5) >>> r.add_strain(t='U',m=0.5)
Add the plastic Euler-Almansi strain based on the Add the plastic Euler-Almansi strain based on the
plastic deformation gradient 'F_p': plastic deformation gradient 'F_p':
>>> import damask >>> import damask
>>> r = damask.Result('my_file.hdf5') >>> r = damask.Result('my_file.hdf5')
>>> r.strain('F_p','V',-1) >>> r.add_strain('F_p','V',-1)
""" """
self._add_generic_pointwise(self._add_strain,{'F':F},{'t':t,'m':m}) self._add_generic_pointwise(self._add_strain,{'F':F},{'t':t,'m':m})