message: automatically build dof_to arrays in functions where they are needed
diff: @@ -1602,6 +1602,8 @@ void GridFunction::ProjectCoefficient(
  ElementTransformation *T = NULL;
  const FiniteElement *fe = NULL;
  + fes->BuildDofToArrays(); // ensures GetElementForDof(), GetLocalDofForDof() initialized.
  +
  for (int i = 0; i < dofs.Size(); i++)
  {
  int dof = dofs[i], j = fes->GetElementForDof(dof);
  @@ -1643,6 +1645,8 @@ void GridFunction::ProjectCoefficient(
  Vector val;
  + fes->BuildDofToArrays(); // ensures GetElementForDof(), GetLocalDofForDof() initialized.
  +
  for (int i = 0; i < dofs.Size(); i++)
  {
  int dof = dofs[i], j = fes->GetElementForDof(dof);
  