So when I try compiling deal.ii using that flag -DDEAL_II_WITH_CXX11=OFF, I get a ton of errors about the tensor expression, and it does not complete:
error: invalid operands to binary
expression ('Tensor<1, 3, typename ProductType<double, typename EnableIfScalar<unsigned int>::type>::type>' and
'const dealii::Tensor<1, 3, double>')
= std::make_pair ((old_normal * old_count + q->second.first) / (old_count + 1),
.
.
.
/Users/michoski/ArcOn-r2/dealii/source/grid/tria_accessor.cc:1289:25: error: no viable conversion from 'Tensor<[2 * ...],
typename ProductType<int, typename EnableIfScalar<double>::type>::type>' to 'const Tensor<[2 * ...], (default)
double>'
const Tensor<1,2> face = direction[f]*(
^ ~~~~~~~~~~~~~~
/Users/michoski/ArcOn-r2/dealii/include/deal.II/base/tensor_base.h:382:3: note: candidate constructor not viable: no known
conversion from 'Tensor<1, 2, typename ProductType<int, typename EnableIfScalar<double>::type>::type>' to
'const array_type &' (aka 'double const (&)[2]') for 1st argument
Tensor (const array_type &initializer);
^
/Users/michoski/ArcOn-r2/dealii/include/deal.II/base/tensor_base.h:387:3: note: candidate constructor not viable: no known
conversion from 'Tensor<1, 2, typename ProductType<int, typename EnableIfScalar<double>::type>::type>' to
'const Tensor<1, 2, double> &' for 1st argument
Tensor (const Tensor<1,dim,Number> &initializer);
^
[ 67%] Building CXX object source/lac/CMakeFiles/obj_lac.debug.dir/petsc_precondition.cc.o
/Users/michoski/ArcOn-r2/dealii/include/deal.II/base/tensor_base.h:1121:15: warning: array index 1 is past the end of the
array (which contains 1 element) [-Warray-bounds]
values[1] * p.values[1]);
^ ~
/Users/michoski/ArcOn-r2/dealii/include/deal.II/grid/tria_accessor.templates.h:2032:65: note: in instantiation of member
function 'dealii::Tensor<1, 1, double>::operator*' requested here
min = std::min(min, (this->vertex(i)-this->vertex(j)) * (this->vertex(i)-this->vertex(j)));
^
/Users/michoski/ArcOn-r2/dealii/include/deal.II/base/tensor_base.h:590:3: note: array 'values' declared here
Number values[(dim!=0) ? (dim) : (dim+1)];
^
Any ideas?
Craig