From 5fb0e4908b9b553b33a2e5858eb2fa4afcc2709e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 18 Dec 2020 07:09:05 +0100 Subject: [PATCH] Examples reflect actual behavior --- python/damask/_configmaterial.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/damask/_configmaterial.py b/python/damask/_configmaterial.py index ed72aa27d..b94e9897a 100644 --- a/python/damask/_configmaterial.py +++ b/python/damask/_configmaterial.py @@ -85,6 +85,8 @@ class ConfigMaterial(Config): fraction: 1.0 phase: Steel homogenization: SX + homogenization: {} + phase: {} """ constituents_ = {k:table.get(v) for k,v in constituents.items()} @@ -271,6 +273,8 @@ class ConfigMaterial(Config): fraction: 1.0 phase: Aluminum homogenization: SX + homogenization: {} + phase: {} """ length = -1