50 (this->dof_handler->hp_capability_enabled ==
false &&
55 if (this->is_active())
60 if ((this->dof_handler->hp_capability_enabled ==
false) ||
64 (fe_index == this->active_fe_index()) ||
66 this->get_dof_values(values, interpolated_values);
72 const unsigned int dofs_per_cell = this->get_fe().n_dofs_per_cell();
73 if (dofs_per_cell == 0)
75 interpolated_values = 0;
80 this->get_dof_values(values, tmp);
83 this->dof_handler->get_fe(fe_index).n_dofs_per_cell(),
84 this->get_fe().n_dofs_per_cell());
85 this->dof_handler->get_fe(fe_index).get_interpolation_matrix(
86 this->get_fe(), interpolation);
87 interpolation.
vmult(interpolated_values, tmp);
102 Assert((this->dof_handler->hp_capability_enabled ==
false) ||
105 "You cannot call this function on non-active cells "
106 "of DoFHandler objects unless you provide an explicit "
107 "finite element index because they do not have naturally "
108 "associated finite element spaces associated: degrees "
109 "of freedom are only distributed on active cells for which "
110 "the active FE index has been set."));
113 this->get_dof_handler().get_fe(fe_index);
116 Assert(this->dof_handler !=
nullptr,
117 typename BaseClass::ExcInvalidObject());
118 Assert(interpolated_values.
size() == dofs_per_cell,
119 typename BaseClass::ExcVectorDoesNotMatch());
120 Assert(values.size() == this->dof_handler->n_dofs(),
121 typename BaseClass::ExcVectorDoesNotMatch());
134 interpolated_values = 0;
161 for (
unsigned int child = 0; child < this->n_children(); ++child)
167 this->child(child)->get_interpolated_dof_values(values,
175 for (
unsigned int i = 0; i < dofs_per_cell; ++i)
177 interpolated_values(i) += tmp2(i);
178 else if (tmp2(i) != Number())
179 interpolated_values(i) = tmp2(i);