const Mapping<dim,sdim>& mapping,
const BlockInfo* block_info)
{
+ initialize_update_flags();
+
cell.template initialize<FEValues<dim,sdim> >(el, mapping, cell_quadrature,
cell_flags, block_info);
boundary.template initialize<FEFaceValues<dim,sdim> >(el, mapping, boundary_quadrature,
const Mapping<1,1>& mapping,
const BlockInfo* block_info)
{
+ initialize_update_flags();
+
const int dim = 1;
const int sdim = 1;
const Mapping<1,2>& mapping,
const BlockInfo* block_info)
{
+ initialize_update_flags();
+
const int dim = 1;
const int sdim = 2;
-
+
cell.initialize<FEValues<dim,sdim> >(el, mapping, cell_quadrature,
cell_flags, block_info);
}
void
IntegrationInfoBox<dim,sdim>::initialize_update_flags ()
{
- cell_flags = update_JxW_values;
- boundary_flags = UpdateFlags(update_JxW_values | update_normal_vectors);
- face_flags = boundary_flags;
- neighbor_flags = update_default;
+ cell_flags |= update_JxW_values;
+ boundary_flags |= UpdateFlags(update_JxW_values | update_normal_vectors);
+ face_flags |= boundary_flags;
+ neighbor_flags |= update_default;
if (cell_selector.has_values() != 0) cell_flags |= update_values;
if (cell_selector.has_gradients() != 0) cell_flags |= update_gradients;