These tests, for a variety of reasons, no longer compiled. I believe that most of
the issues were introduced in #5547. This fixes them.
typedef double number;
parallel::shared::Triangulation<dim>
- triangulation (MPI_COMM_WORLD,
- ::Triangulation<dim>::none,
- false,
- parallel::shared::Triangulation<dim>::partition_metis);
+ tria (MPI_COMM_WORLD,
+ ::Triangulation<dim>::none,
+ false,
+ parallel::shared::Triangulation<dim>::partition_metis);
GridGenerator::hyper_cube (tria);
tria.refine_global(1);
typename Triangulation<dim>::active_cell_iterator
{
parallel::shared::Triangulation<1>
tria (MPI_COMM_WORLD,
- ::Triangulation<dim>::none,
+ ::Triangulation<1>::none,
false,
- parallel::shared::Triangulation<dim>::partition_metis);
+ parallel::shared::Triangulation<1>::partition_metis);
deallog << tria.locally_owned_subdomain() << std::endl;
}
template <int dim>
TopLevel<dim>::TopLevel ()
:
- triangulation((MPI_COMM_WORLD,
- ::Triangulation<dim>::none,
- false,
- parallel::shared::Triangulation<dim>::partition_metis),
- fe (FE_Q<dim>(1), dim),
- dof_handler (triangulation),
- quadrature_formula (2),
- mpi_communicator (MPI_COMM_WORLD),
- n_mpi_processes (Utilities::MPI::n_mpi_processes(mpi_communicator)),
- this_mpi_process (Utilities::MPI::this_mpi_process(mpi_communicator)),
- pcout (std::cout, this_mpi_process == 0),
- monitored_vertex_first_dof(0)
+ triangulation(MPI_COMM_WORLD,
+ ::Triangulation<dim>::none,
+ false,
+ parallel::shared::Triangulation<dim>::partition_metis),
+ fe (FE_Q<dim>(1), dim),
+ dof_handler (triangulation),
+ quadrature_formula (2),
+ mpi_communicator (MPI_COMM_WORLD),
+ n_mpi_processes (Utilities::MPI::n_mpi_processes(mpi_communicator)),
+ this_mpi_process (Utilities::MPI::this_mpi_process(mpi_communicator)),
+ pcout (std::cout, this_mpi_process == 0),
+ monitored_vertex_first_dof(0)
{}
template <int dim>
TopLevel<dim>::~TopLevel ()
template <int dim>
TopLevel<dim>::TopLevel ()
:
- triangulation((MPI_COMM_WORLD,
- ::Triangulation<dim>::none,
- false,
- parallel::shared::Triangulation<dim>::partition_metis),
- fe (FE_Q<dim>(1), dim),
- dof_handler (triangulation),
- quadrature_formula (2),
- mpi_communicator (MPI_COMM_WORLD),
- n_mpi_processes (Utilities::MPI::n_mpi_processes(mpi_communicator)),
- this_mpi_process (Utilities::MPI::this_mpi_process(mpi_communicator)),
- pcout (std::cout, this_mpi_process == 0),
- monitored_vertex_first_dof(0)
+ triangulation(MPI_COMM_WORLD,
+ ::Triangulation<dim>::none,
+ false,
+ parallel::shared::Triangulation<dim>::partition_metis),
+ fe (FE_Q<dim>(1), dim),
+ dof_handler (triangulation),
+ quadrature_formula (2),
+ mpi_communicator (MPI_COMM_WORLD),
+ n_mpi_processes (Utilities::MPI::n_mpi_processes(mpi_communicator)),
+ this_mpi_process (Utilities::MPI::this_mpi_process(mpi_communicator)),
+ pcout (std::cout, this_mpi_process == 0),
+ monitored_vertex_first_dof(0)
{}
template <int dim>
TopLevel<dim>::~TopLevel ()