no plastic model as default
This commit is contained in:
parent
9fd244d8a0
commit
4d046e4e16
|
@ -450,8 +450,8 @@ function plastic_active(plastic_label) result(active_plastic)
|
||||||
do ph = 1, phases%length
|
do ph = 1, phases%length
|
||||||
phase => phases%get(ph)
|
phase => phases%get(ph)
|
||||||
mech => phase%get('mechanical')
|
mech => phase%get('mechanical')
|
||||||
pl => mech%get('plastic')
|
pl => mech%get('plastic',defaultVal = emptyDict)
|
||||||
if(pl%get_asString('type') == plastic_label) active_plastic(ph) = .true.
|
if(pl%get_asString('type',defaultVal='none') == plastic_label) active_plastic(ph) = .true.
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
end function plastic_active
|
end function plastic_active
|
||||||
|
|
Loading…
Reference in New Issue