// general/affine cell type
else
{
- const Tensor<2, dim, VectorizedArrayType> &jac =
+ const Tensor<2, dim, VectorizedArrayType> jac =
this->cell_type > internal::MatrixFreeFunctions::affine ?
this->jacobian[q_point] :
this->jacobian[0];
}
else
{
- const Tensor<2, dim, VectorizedArrayType> &jac =
+ const Tensor<2, dim, VectorizedArrayType> jac =
this->cell_type == internal::MatrixFreeFunctions::general ?
this->jacobian[q_point] :
this->jacobian[0];
this->cell_type == internal::MatrixFreeFunctions::general ?
this->J_value[q_point] :
this->J_value[0] * this->quadrature_weights[q_point];
- const Tensor<2, dim, VectorizedArrayType> &jac =
+ const Tensor<2, dim, VectorizedArrayType> jac =
this->cell_type == internal::MatrixFreeFunctions::general ?
this->jacobian[q_point] :
this->jacobian[0];
this->gradients_quad_submitted = true;
# endif
- const Tensor<2, 1, VectorizedArrayType> &jac =
+ const Tensor<2, 1, VectorizedArrayType> jac =
this->cell_type == internal::MatrixFreeFunctions::general ?
this->jacobian[q_point] :
this->jacobian[0];