cell = stokes_dof_handler.begin_active(),
endc = stokes_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
fe_values.reinit (cell);
fe_values[velocities].get_function_values (stokes_solution,
cell = stokes_dof_handler.begin_active(),
endc = stokes_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
fe_values.reinit (cell);
fe_values[velocities].get_function_values (stokes_solution,
cell = temperature_dof_handler.begin_active(),
endc = temperature_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
fe_values.reinit (cell);
fe_values.get_function_values (old_temperature_solution,
cell = temperature_dof_handler.begin_active(),
endc = temperature_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
fe_values.reinit (cell);
fe_values.get_function_values (old_temperature_solution,
cell = temperature_dof_handler.begin_active(),
endc = temperature_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
fe_values.reinit (cell);
fe_values.get_function_values (old_temperature_solution,
endc = temperature_dof_handler.end();
for (; cell!=endc; ++cell)
- if (cell->subdomain_id() ==
- Utilities::MPI::this_mpi_process(MPI_COMM_WORLD))
+ if (cell->is_locally_owned())
{
cell->get_dof_indices (local_dof_indices);
fe_values.reinit (cell);