std::fill(fe_data.dof_sign_change.begin(),
fe_data.dof_sign_change.end(),
1.0);
- internal::FE_PolyTensor::get_dof_sign_change_nedelec(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_nedelec(
+ cell, *this, this->mapping_kind, fe_data.dof_sign_change);
// TODO: This, similarly to the Nedelec case, is just a legacy function in 2d
// and affects only face_dofs of H(div) conformal FEs. It does nothing in 1d.
// Also nothing in 3d since we take care of it by using the
// adjust_quad_dof_sign_for_face_orientation_table.
- internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
+ *this,
+ this->mapping_kind,
+ fe_data.dof_sign_change);
// What is the first dof_index on a quad?
const unsigned int first_quad_index = this->get_first_quad_index();
std::fill(fe_data.dof_sign_change.begin(),
fe_data.dof_sign_change.end(),
1.0);
- internal::FE_PolyTensor::get_dof_sign_change_nedelec(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_nedelec(
+ cell, *this, this->mapping_kind, fe_data.dof_sign_change);
// TODO: This, similarly to the Nedelec case, is just a legacy function in 2d
// and affects only face_dofs of H(div) conformal FEs. It does nothing in 1d.
// Also nothing in 3d since we take care of it by using the
// adjust_quad_dof_sign_for_face_orientation_table.
- internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
+ *this,
+ this->mapping_kind,
+ fe_data.dof_sign_change);
// What is the first dof_index on a quad?
const unsigned int first_quad_index = this->get_first_quad_index();
std::fill(fe_data.dof_sign_change.begin(),
fe_data.dof_sign_change.end(),
1.0);
- internal::FE_PolyTensor::get_dof_sign_change_nedelec(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_nedelec(
+ cell, *this, this->mapping_kind, fe_data.dof_sign_change);
// TODO: This, similarly to the Nedelec case, is just a legacy function in 2d
// and affects only face_dofs of H(div) conformal FEs. It does nothing in 1d.
// Also nothing in 3d since we take care of it by using the
// adjust_quad_dof_sign_for_face_orientation_table.
- internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
- *this,
- this->mapping_kind,
- fe_data.dof_sign_change);
+ if (fe_data.update_each & update_values)
+ internal::FE_PolyTensor::get_dof_sign_change_h_div(cell,
+ *this,
+ this->mapping_kind,
+ fe_data.dof_sign_change);
// What is the first dof_index on a quad?
const unsigned int first_quad_index = this->get_first_quad_index();