Merge branch 'missing-add_strain' into 'development'
missing-add_strain See merge request damask/DAMASK!559
This commit is contained in:
commit
39d79c23b2
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue