From 6cadb5bf7cc558fc4c1af89ac0d8524d6488ea94 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Mon, 27 Jan 2020 18:20:34 +0100
Subject: [PATCH] [MatL] MFront; Todo comment for internal vars rot.

---
 MaterialLib/SolidModels/MFront/MFront.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/MaterialLib/SolidModels/MFront/MFront.cpp b/MaterialLib/SolidModels/MFront/MFront.cpp
index dd5dbeb5181..3095289b6f3 100644
--- a/MaterialLib/SolidModels/MFront/MFront.cpp
+++ b/MaterialLib/SolidModels/MFront/MFront.cpp
@@ -389,6 +389,10 @@ MFront<DisplacementDim>::getInternalVariables() const
         auto const size =
             mgis::behaviour::getVariableSize(iv, _behaviour.hypothesis);
 
+        // TODO (naumov): For orthotropic materials the internal variables
+        // should be rotated to the global coordinate system before output.
+        // MFront stores the variables in local coordinate system.
+        // The `size` variable could be used to find out the type of variable.
         typename MechanicsBase<DisplacementDim>::InternalVariable new_variable{
             name, static_cast<unsigned>(size),
             [offset, size](
-- 
GitLab