// ------------------------- scalar functions --------------------------
template <int dim, int spacedim, typename Number>
void
- do_function_values (const ArrayView<const Number> &dof_values,
- const Table<2,double> &shape_values,
+ do_function_values (const ArrayView<Number> &dof_values,
+ const Table<2,double> &shape_values,
const std::vector<typename Scalar<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,double>::type> &values)
{
// the order of the derivative (= rank of gradient/Hessian tensor)
template <int order, int dim, int spacedim, typename Number>
void
- do_function_derivatives (const ArrayView<const Number> &dof_values,
+ do_function_derivatives (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<order,spacedim> > &shape_derivatives,
const std::vector<typename Scalar<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<order,spacedim> >::type> &derivatives)
template <int dim, int spacedim, typename Number>
void
- do_function_laplacians (const ArrayView<const Number> &dof_values,
+ do_function_laplacians (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<2,spacedim> > &shape_hessians,
const std::vector<typename Scalar<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,double>::type> &laplacians)
// ----------------------------- vector part ---------------------------
template <int dim, int spacedim, typename Number>
- void do_function_values (const ArrayView<const Number> &dof_values,
+ void do_function_values (const ArrayView<Number> &dof_values,
const Table<2,double> &shape_values,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<1,spacedim> >::type> &values)
template <int order, int dim, int spacedim, typename Number>
void
- do_function_derivatives (const ArrayView<const Number> &dof_values,
+ do_function_derivatives (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<order,spacedim> > &shape_derivatives,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<order+1,spacedim> >::type> &derivatives)
template <int dim, int spacedim, typename Number>
void
- do_function_symmetric_gradients (const ArrayView<const Number> &dof_values,
+ do_function_symmetric_gradients (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<1,spacedim> > &shape_gradients,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::SymmetricTensor<2,spacedim> >::type> &symmetric_gradients)
template <int dim, int spacedim, typename Number>
void
- do_function_divergences (const ArrayView<const Number> &dof_values,
+ do_function_divergences (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<1,spacedim> > &shape_gradients,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,double>::type> &divergences)
template <int dim, int spacedim, typename Number>
void
- do_function_curls (const ArrayView<const Number> &dof_values,
+ do_function_curls (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<1,spacedim> > &shape_gradients,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,typename dealii::internal::CurlType<spacedim>::type>::type> &curls)
template <int dim, int spacedim, typename Number>
void
- do_function_laplacians (const ArrayView<const Number> &dof_values,
+ do_function_laplacians (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<2,spacedim> > &shape_hessians,
const std::vector<typename Vector<dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<1,spacedim> >::type> &laplacians)
template <int dim, int spacedim, typename Number>
void
- do_function_values (const ArrayView<const Number> &dof_values,
+ do_function_values (const ArrayView<Number> &dof_values,
const dealii::Table<2,double> &shape_values,
const std::vector<typename SymmetricTensor<2,dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::SymmetricTensor<2,spacedim> >::type> &values)
template <int dim, int spacedim, typename Number>
void
- do_function_divergences (const ArrayView<const Number> &dof_values,
+ do_function_divergences (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<1,spacedim> > &shape_gradients,
const std::vector<typename SymmetricTensor<2,dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<1,spacedim> >::type> &divergences)
template <int dim, int spacedim, typename Number>
void
- do_function_values (const ArrayView<const Number> &dof_values,
+ do_function_values (const ArrayView<Number> &dof_values,
const dealii::Table<2,double> &shape_values,
const std::vector<typename Tensor<2,dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<2,spacedim> >::type> &values)
template <int dim, int spacedim, typename Number>
void
- do_function_divergences (const ArrayView<const Number> &dof_values,
+ do_function_divergences (const ArrayView<Number> &dof_values,
const Table<2,dealii::Tensor<1,spacedim> > &shape_gradients,
const std::vector<typename Tensor<2,dim,spacedim>::ShapeFunctionData> &shape_function_data,
std::vector<typename ProductType<Number,dealii::Tensor<1,spacedim> >::type> &divergences)
dealii::Vector<typename InputVector::value_type> dof_values(fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_values<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_values, shape_function_data, values);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<1,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, gradients);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<2,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_hessians, shape_function_data, hessians);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_laplacians<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_hessians, shape_function_data, laplacians);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<3,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_3rd_derivatives, shape_function_data, third_derivatives);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_values<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_values, shape_function_data, values);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<1,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, gradients);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_symmetric_gradients<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data,
symmetric_gradients);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_divergences<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, divergences);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values (fe_function, dof_values);
internal::do_function_curls<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, curls);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<2,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_hessians, shape_function_data, hessians);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_laplacians<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_hessians, shape_function_data, laplacians);
}
dealii::Vector<typename InputVector::value_type> dof_values (fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_derivatives<3,dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_3rd_derivatives, shape_function_data, third_derivatives);
}
dealii::Vector<typename InputVector::value_type> dof_values(fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_values<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_values, shape_function_data, values);
}
dealii::Vector<typename InputVector::value_type> dof_values(fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_divergences<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, divergences);
}
dealii::Vector<typename InputVector::value_type> dof_values(fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_values<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_values, shape_function_data, values);
}
dealii::Vector<typename InputVector::value_type> dof_values(fe_values->dofs_per_cell);
fe_values->present_cell->get_interpolated_dof_values(fe_function, dof_values);
internal::do_function_divergences<dim,spacedim>
- (ArrayView<const typename InputVector::value_type>(&dof_values[0], fe_values->dofs_per_cell),
+ (make_array_view(dof_values.begin(), dof_values.end()),
fe_values->finite_element_output.shape_gradients, shape_function_data, divergences);
}
}