const unsigned int n_shapes,
const UpdateFlags flags)
{
+ update_flags = flags;
+
if (flags & update_values)
shape_values.reinit(n_shapes, n_quadrature_points);
FEValuesBase<dim> (q.n_quadrature_points,
fe.dofs_per_cell,
1,
- update_flags,
+ update_default,
mapping,
fe),
quadrature (q)
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping.update_once (flags)
| mapping.update_each (flags);
FEValuesBase<dim> (q.n_quadrature_points,
fe.dofs_per_cell,
1,
- update_flags,
+ update_default,
mapping_q1,
fe),
quadrature (q)
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping->update_once (flags)
| mapping->update_each (flags);
FEFaceValuesBase<dim>::FEFaceValuesBase (const unsigned int n_q_points,
const unsigned int dofs_per_cell,
const unsigned int n_faces_or_subfaces,
- const UpdateFlags update_flags,
+ const UpdateFlags,
const Mapping<dim> &mapping,
const FiniteElement<dim> &fe,
const Quadrature<dim-1>& quadrature)
FEValuesBase<dim> (n_q_points,
dofs_per_cell,
n_faces_or_subfaces,
- update_flags,
+ update_default,
mapping,
fe),
quadrature(quadrature)
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping.update_once (flags)
| mapping.update_each (flags);
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping->update_once (flags)
| mapping->update_each (flags);
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping.update_once (flags)
| mapping.update_each (flags);
// ask the finite element and mapping.
// elements are first since they
// might require update in mapping
- UpdateFlags flags = fe.update_once (update_flags)
- | fe.update_each (update_flags);
+ UpdateFlags flags = update_flags
+ | fe.update_once (update_flags)
+ | fe.update_each (update_flags);
flags |= mapping->update_once (flags)
| mapping->update_each (flags);