const unsigned int n_dofs,
const unsigned int n_transform_functions,
const unsigned int n_values_array,
- const UpdateFlags update_flags);
+ const UpdateFlags update_flags,
+ const FiniteElement<dim> &fe);
/**
* safer.
*/
DoFHandler<dim>::cell_iterator present_cell;
+
+ /**
+ * Store the finite element for later use.
+ */
+ SmartPointer<const FiniteElement<dim> > fe;
};
const Boundary<dim> &);
private:
- /**
- * Store the finite element for later use.
- */
- SmartPointer<const FiniteElement<dim> > fe;
/**
* Store the gradients of the shape
* functions at the quadrature points on
const unsigned int n_dofs,
const unsigned int n_transform_functions,
const unsigned int n_faces_or_subfaces,
- const UpdateFlags update_flags);
+ const UpdateFlags update_flags,
+ const FiniteElement<dim> &fe);
/**
* Return the outward normal vector to
void reinit (const typename DoFHandler<dim>::cell_iterator &cell,
const unsigned int face_no,
const Boundary<dim> &boundary);
-private:
- /**
- * Store the finite element for later use.
- */
- SmartPointer<const FiniteElement<dim> > fe;
};
* Exception
*/
DeclException0 (ExcReinitCalledWithBoundaryFace);
-private:
- /**
- * Store the finite element for later use.
- */
- SmartPointer<const FiniteElement<dim> > fe;
};