From 1c68cf1fd31b28001ab480a9898cc99f3982b256 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 21 Nov 2016 21:06:52 +0100 Subject: [PATCH] using cubic symmetry as default for orientation relationships --- lib/damask/orientation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/damask/orientation.py b/lib/damask/orientation.py index 655f5cbba..0ef6725cf 100644 --- a/lib/damask/orientation.py +++ b/lib/damask/orientation.py @@ -993,7 +993,7 @@ class Orientation: def related(self, relationModel, direction, - targetSymmetry = None): + targetSymmetry = 'cubic'): """ Orientation relationship @@ -1241,4 +1241,4 @@ class Orientation: rot=np.dot(otherMatrix,myMatrix.T) - return Orientation(matrix=np.dot(rot,self.asMatrix())) # no symmetry information ?? + return Orientation(matrix=np.dot(rot,self.asMatrix()),symmetry=targetSymmetry)