message: Workaround for a bug in the Visual Studio 2013 compiler.
diff: @@ -3047,13 +3047,11 @@ void NormalInterpolator::AssembleElementMatrix2(
  }
  -void
  -ScalarProductInterpolator::AssembleElementMatrix2(const FiniteElement &dom_fe,
  - const FiniteElement &ran_fe,
  - ElementTransformation &Trans,
  - DenseMatrix &elmat)
  +namespace internal
  {
  - // Scalar shape functions scaled by scalar coefficient
  +
  +// Scalar shape functions scaled by scalar coefficient.
  +// Used in the implementation of class ScalarProductInterpolator below.
  struct ShapeCoefficient : public VectorCoefficient
  {
  Coefficient &Q;
  @@ -3072,7 +3070,15 @@ ScalarProductInterpolator::AssembleElementMatrix2(const FiniteElement &dom_fe,
  }
  };
  - ShapeCoefficient dom_shape_coeff(Q, dom_fe);
  +}
  +
  +void
  +ScalarProductInterpolator::AssembleElementMatrix2(const FiniteElement &dom_fe,
  + const FiniteElement &ran_fe,
  + ElementTransformation &Trans,
  + DenseMatrix &elmat)
  +{
  + internal::ShapeCoefficient dom_shape_coeff(Q, dom_fe);
  elmat.SetSize(ran_fe.GetDof(),dom_fe.GetDof());
  @@ -3209,14 +3215,11 @@ VectorCrossProductInterpolator::AssembleElementMatrix2(
  }
  -void
  -VectorInnerProductInterpolator::AssembleElementMatrix2(
  - const FiniteElement &dom_fe,
  - const FiniteElement &ran_fe,
  - ElementTransformation &Trans,
  - DenseMatrix &elmat)
  +namespace internal
  {
  - // Vector shape functions dot product with a vector coefficient
  +
  +// Vector shape functions dot product with a vector coefficient.
  +// Used in the implementation of class VectorInnerProductInterpolator below.
  struct VDotVShapeCoefficient : public VectorCoefficient
  {
  VectorCoefficient &VQ;
  @@ -3239,7 +3242,16 @@ VectorInnerProductInterpolator::AssembleElementMatrix2(
  }
  };
  - VDotVShapeCoefficient dom_shape_coeff(VQ, dom_fe);
  +}
  +
  +void
  +VectorInnerProductInterpolator::AssembleElementMatrix2(
  + const FiniteElement &dom_fe,
  + const FiniteElement &ran_fe,
  + ElementTransformation &Trans,
  + DenseMatrix &elmat)
  +{
  + internal::VDotVShapeCoefficient dom_shape_coeff(VQ, dom_fe);
  elmat.SetSize(ran_fe.GetDof(),dom_fe.GetDof());
  