"update_values")));
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell and call internal worker
// function
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
internal::do_function_values<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<1, dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(hessians.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(hessians.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<2, dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(laplacians.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(laplacians.size(), fe_values->n_quadrature_points);
internal::do_function_laplacians<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(third_derivatives.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(third_derivatives.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<3, dim, spacedim>(
make_const_array_view(dof_values),
"update_values")));
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
internal::do_function_values<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<1, dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(symmetric_gradients.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(symmetric_gradients.size(), fe_values->n_quadrature_points);
internal::do_function_symmetric_gradients<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
// get function values of dofs
// on this cell
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
internal::do_function_divergences<dim, spacedim>(
make_const_array_view(dof_values),
ExcMessage("FEValues object is not reinited to any cell"));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(curls.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
ExcMessage("FEValues object is not reinited to any cell"));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(curls.size(), fe_values->n_quadrature_points);
internal::do_function_curls<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(hessians.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(hessians.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<2, dim, spacedim>(
make_const_array_view(dof_values),
fe_function.size() == fe_values->present_cell.n_dofs_for_dof_handler(),
ExcDimensionMismatch(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler()));
+ AssertDimension(laplacians.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(laplacians.size(), fe_values->n_quadrature_points);
internal::do_function_laplacians<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(third_derivatives.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(third_derivatives.size(), fe_values->n_quadrature_points);
internal::do_function_derivatives<3, dim, spacedim>(
make_const_array_view(dof_values),
"update_values")));
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
internal::do_function_values<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
// get function values of dofs
// on this cell
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
internal::do_function_divergences<dim, spacedim>(
make_const_array_view(dof_values),
"update_values")));
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
// get function values of dofs on this cell
dealii::Vector<Number> dof_values(fe_values->dofs_per_cell);
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(values.size(), fe_values->n_quadrature_points);
internal::do_function_values<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
// get function values of dofs
// on this cell
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(divergences.size(), fe_values->n_quadrature_points);
internal::do_function_divergences<dim, spacedim>(
make_const_array_view(dof_values),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(fe_function.size(),
fe_values->present_cell.n_dofs_for_dof_handler());
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
// get function values of dofs
// on this cell
Assert(fe_values->present_cell.is_initialized(),
(typename FEValuesBase<dim, spacedim>::ExcNotReinited()));
AssertDimension(dof_values.size(), fe_values->dofs_per_cell);
+ AssertDimension(gradients.size(), fe_values->n_quadrature_points);
internal::do_function_gradients<dim, spacedim>(
make_const_array_view(dof_values),