Skip to content
Snippets Groups Projects

[Append IPVariable] - MultipleDG3DMaterialLaw

Merged Mohib Mustafa requested to merge dev_mm_ann into master
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
@@ -1992,6 +1992,17 @@ double dG3DIPVariableMultiple::get(const int comp) const
}
return v;
}
// Appended to enable use with torchbasedmaterial law @Mohib
// USER0 and USER1 stores extra variable assigned to the torchbasedmaterial law
else if (comp == IPField::USER0 || comp == IPField::USER1)
{
double v = 0;
for (int j=0; j< _numIP; j++)
{
v += _IPVector[j]->get(comp);
}
return v;
}
else
{
return dG3DIPVariable::get(comp);
Loading