template <int dim>
void
-FE_DGPNonparametric<dim>::fill_fe_values (const Mapping<dim> &mapping,
- const typename DoFHandler<dim>::cell_iterator &cell,
- const Quadrature<dim> &quadrature,
- typename Mapping<dim>::InternalDataBase &mapping_data,
- typename Mapping<dim>::InternalDataBase &fedata,
- FEValuesData<dim> &data) const
+FE_DGPNonparametric<dim>::fill_fe_values (
+ const Mapping<dim>&,
+ const typename DoFHandler<dim>::cell_iterator& cell,
+ const Quadrature<dim>& quadrature,
+ typename Mapping<dim>::InternalDataBase&,
+ typename Mapping<dim>::InternalDataBase& fedata,
+ FEValuesData<dim>& data) const
{
// convert data object to internal
// data for this class. fails with
InternalData &fe_data = dynamic_cast<InternalData &> (fedata);
const UpdateFlags flags(fe_data.current_update_flags());
-
+ Assert (flags & update_q_points, ExcInternalError());
+
const unsigned int n_q_points = data.quadrature_points.size();
if (flags & (update_values | update_gradients))
template <int dim>
void
-FE_DGPNonparametric<dim>::fill_fe_face_values (const Mapping<dim> &mapping,
- const typename DoFHandler<dim>::cell_iterator &cell,
- const unsigned int face,
- const Quadrature<dim-1> &quadrature,
- typename Mapping<dim>::InternalDataBase &mapping_data,
- typename Mapping<dim>::InternalDataBase &fedata,
- FEValuesData<dim> &data) const
+FE_DGPNonparametric<dim>::fill_fe_face_values (
+ const Mapping<dim>&,
+ const typename DoFHandler<dim>::cell_iterator& cell,
+ const unsigned int face,
+ const Quadrature<dim-1>& quadrature,
+ typename Mapping<dim>::InternalDataBase&,
+ typename Mapping<dim>::InternalDataBase& fedata,
+ FEValuesData<dim>& data) const
{
// convert data object to internal
// data for this class. fails with
InternalData &fe_data = dynamic_cast<InternalData &> (fedata);
const UpdateFlags flags(fe_data.update_once | fe_data.update_each);
+ Assert (flags & update_q_points, ExcInternalError());
const unsigned int n_q_points = data.quadrature_points.size();
template <int dim>
void
-FE_DGPNonparametric<dim>::fill_fe_subface_values (const Mapping<dim> &mapping,
- const typename DoFHandler<dim>::cell_iterator &cell,
- const unsigned int face,
- const unsigned int subface,
- const Quadrature<dim-1> &quadrature,
- typename Mapping<dim>::InternalDataBase &mapping_data,
- typename Mapping<dim>::InternalDataBase &fedata,
- FEValuesData<dim> &data) const
+FE_DGPNonparametric<dim>::fill_fe_subface_values (
+ const Mapping<dim>&,
+ const typename DoFHandler<dim>::cell_iterator& cell,
+ const unsigned int face,
+ const unsigned int subface,
+ const Quadrature<dim-1>& quadrature,
+ typename Mapping<dim>::InternalDataBase&,
+ typename Mapping<dim>::InternalDataBase& fedata,
+ FEValuesData<dim>& data) const
{
// convert data object to internal
// data for this class. fails with
InternalData &fe_data = dynamic_cast<InternalData &> (fedata);
const UpdateFlags flags(fe_data.update_once | fe_data.update_each);
+ Assert (flags & update_q_points, ExcInternalError());
const unsigned int n_q_points = data.quadrature_points.size();