Skip to content
Snippets Groups Projects
Commit 6cadb5bf authored by Dmitri Naumov's avatar Dmitri Naumov Committed by Dmitri Naumov
Browse files

[MatL] MFront; Todo comment for internal vars rot.

parent 696e5159
No related branches found
No related tags found
No related merge requests found
...@@ -389,6 +389,10 @@ MFront<DisplacementDim>::getInternalVariables() const ...@@ -389,6 +389,10 @@ MFront<DisplacementDim>::getInternalVariables() const
auto const size = auto const size =
mgis::behaviour::getVariableSize(iv, _behaviour.hypothesis); 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{ typename MechanicsBase<DisplacementDim>::InternalVariable new_variable{
name, static_cast<unsigned>(size), name, static_cast<unsigned>(size),
[offset, size]( [offset, size](
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment