AssertDimension(interface_dof_indices.size(), local_dof_values.size());
- for (unsigned int i = 0; i < interface_dof_indices.size(); ++i)
+ for (unsigned int i : this->fe_interface->dof_indices())
local_dof_values[i] = dof_values(interface_dof_indices[i]);
}
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(gradients.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(gradients.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(hessians.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(hessians.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
- for (unsigned int dof_index = 0; dof_index < interface_dof_indices.size();
- ++dof_index)
+ for (unsigned int dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
if (dof_index == 0)
AssertDimension(third_derivatives.size(),
this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
- for (unsigned int dof_index = 0; dof_index < interface_dof_indices.size();
- ++dof_index)
+ for (unsigned int dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
if (dof_index == 0)
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(gradients.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(values.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(gradients.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(hessians.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
for (const auto dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
{
AssertDimension(hessians.size(), this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
- for (unsigned int dof_index = 0; dof_index < interface_dof_indices.size();
- ++dof_index)
+ for (unsigned int dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
if (dof_index == 0)
AssertDimension(third_derivatives.size(),
this->fe_interface->n_quadrature_points);
- const auto &interface_dof_indices =
- this->fe_interface->get_interface_dof_indices();
-
- for (unsigned int dof_index = 0; dof_index < interface_dof_indices.size();
- ++dof_index)
+ for (unsigned int dof_index : this->fe_interface->dof_indices())
for (const auto q_index : this->fe_interface->quadrature_point_indices())
{
if (dof_index == 0)