message: Setting index type in TMOP classes
diff: @@ -906,6 +906,7 @@ void AnalyticAdaptTC::ComputeElementTargets(int e_id, const FiniteElement &fe,
  IsoparametricTransformation Tpr;
  Tpr.SetFE(&fe);
  Tpr.ElementNo = e_id;
  + Tpr.ElementType = ElementTransformation::ELEMENT;
  Tpr.GetPointMat().Transpose(point_mat);
  for (int i = 0; i < ir.GetNPoints(); i++)
  @@ -1124,6 +1125,7 @@ double TMOP_Integrator::GetElementEnergy(const FiniteElement &el,
  Tpr = new IsoparametricTransformation;
  Tpr->SetFE(&el);
  Tpr->ElementNo = T.ElementNo;
  + Tpr->ElementType = ElementTransformation::ELEMENT;
  Tpr->Attribute = T.Attribute;
  Tpr->GetPointMat().Transpose(PMatI); // PointMat = PMatI^T
  }
  @@ -1220,6 +1222,7 @@ void TMOP_Integrator::AssembleElementVector(const FiniteElement &el,
  Tpr = new IsoparametricTransformation;
  Tpr->SetFE(&el);
  Tpr->ElementNo = T.ElementNo;
  + Tpr->ElementType = ElementTransformation::ELEMENT;
  Tpr->Attribute = T.Attribute;
  Tpr->GetPointMat().Transpose(PMatI); // PointMat = PMatI^T
  }
  @@ -1313,6 +1316,7 @@ void TMOP_Integrator::AssembleElementGrad(const FiniteElement &el,
  Tpr = new IsoparametricTransformation;
  Tpr->SetFE(&el);
  Tpr->ElementNo = T.ElementNo;
  + Tpr->ElementType = ElementTransformation::ELEMENT;
  Tpr->Attribute = T.Attribute;
  Tpr->GetPointMat().Transpose(PMatI);
  }
  