Commit bca82325 authored by Christophe Geuzaine's avatar Christophe Geuzaine

update interactive models with new region philosophy

parent e4c8f816
Pipeline #1471 passed with stage
in 9 minutes 23 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -64,12 +64,11 @@ Group {
},
Name StrCat["Parameters/Materials/", name~{i}, "/0Type"]}
];
str = StrCat["Vol_Ele += ", reg];
If(material~{i} == 0)
str = StrCat["Vol_Q_Ele += ", reg, "Vol_Ele += ", reg];
ElseIf(material~{i} == 1)
str = StrCat["Vol_Ele += ", reg];
str = StrCat[str, "Vol_Q_Ele += ", reg];
ElseIf(material~{i} == 2)
str = StrCat["Vol_Inf_Ele += ", reg];
str = StrCat[str, "Vol_Inf_Ele += ", reg];
EndIf
EndIf
Parse[str];
......
......@@ -62,16 +62,15 @@ Group {
},
Name StrCat["Parameters/Materials/", name~{i}, "/0Type"]}
];
str = StrCat["Vol_Mag += ", reg];
If(material~{i} == 0)
str = StrCat["Vol_M_Mag += ", reg];
str = StrCat[str, "Vol_M_Mag += ", reg];
ElseIf(material~{i} == 1)
str = StrCat["Vol_S0_Mag += ", reg];
ElseIf(material~{i} == 2)
str = StrCat["Vol_L_Mag += ", reg];
str = StrCat[str, "Vol_S0_Mag += ", reg];
ElseIf(material~{i} == 3)
str = StrCat["Vol_NL_Mag += ", reg];
str = StrCat[str, "Vol_NL_Mag += ", reg];
ElseIf(material~{i} == 4)
str = StrCat["Vol_Inf_Mag += ", reg];
str = StrCat[str, "Vol_Inf_Mag += ", reg];
EndIf
EndIf
Parse[str];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment