47 const InputVector & values,
52 (this->dof_handler->hp_capability_enabled ==
false &&
57 if (this->is_active())
62 if ((this->dof_handler->hp_capability_enabled ==
false) ||
66 (fe_index == this->active_fe_index()) ||
68 this->get_dof_values(values, interpolated_values);
74 const unsigned int dofs_per_cell = this->get_fe().n_dofs_per_cell();
75 if (dofs_per_cell == 0)
77 interpolated_values = 0;
82 this->get_dof_values(values, tmp);
85 this->dof_handler->get_fe(fe_index).n_dofs_per_cell(),
86 this->get_fe().n_dofs_per_cell());
87 this->dof_handler->get_fe(fe_index).get_interpolation_matrix(
88 this->get_fe(), interpolation);
89 interpolation.
vmult(interpolated_values, tmp);
104 Assert((this->dof_handler->hp_capability_enabled ==
false) ||
107 "You cannot call this function on non-active cells "
108 "of DoFHandler objects unless you provide an explicit "
109 "finite element index because they do not have naturally "
110 "associated finite element spaces associated: degrees "
111 "of freedom are only distributed on active cells for which "
112 "the active FE index has been set."));
115 this->get_dof_handler().get_fe(fe_index);
118 Assert(this->dof_handler !=
nullptr,
119 typename BaseClass::ExcInvalidObject());
120 Assert(interpolated_values.
size() == dofs_per_cell,
121 typename BaseClass::ExcVectorDoesNotMatch());
122 Assert(values.size() == this->dof_handler->n_dofs(),
123 typename BaseClass::ExcVectorDoesNotMatch());
136 interpolated_values = 0;
163 for (
unsigned int child = 0; child < this->n_children(); ++child)
169 this->child(child)->get_interpolated_dof_values(values,
177 for (
unsigned int i = 0; i < dofs_per_cell; ++i)
179 interpolated_values(i) += tmp2(i);
180 else if (tmp2(i) != number())
181 interpolated_values(i) = tmp2(i);