class LaplaceProblem
{
public:
- LaplaceProblem();
LaplaceProblem(const ParameterCollection &prm);
virtual ~LaplaceProblem();
void
-template <int dim>
-LaplaceProblem<dim>::LaplaceProblem()
- : prm()
- , n_enriched_cells(0)
- , dof_handler(triangulation)
- , fe_base(prm.fe_base_degree)
- , fe_enriched(prm.fe_enriched_degree)
- , fe_nothing(1, true)
- , 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))
-{
- prm.print();
-
- pcout << "...default parameters set" << std::endl;
-}
-
-
-
template <int dim>
LaplaceProblem<dim>::LaplaceProblem(const ParameterCollection &_par)
: prm(_par)
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(1);
- GridTools::partition_triangulation(
- Utilities::MPI::n_mpi_processes(mpi_communicator), tria);
+ GridTools::partition_triangulation(Utilities::MPI::n_mpi_processes(
+ mpi_communicator),
+ tria,
+ SparsityTools::Partitioner::zoltan);
hp::FECollection<dim> fe;
fe.push_back(FE_Q<dim>(1));
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(1);
- GridTools::partition_triangulation(
- Utilities::MPI::n_mpi_processes(mpi_communicator), tria);
+ GridTools::partition_triangulation(Utilities::MPI::n_mpi_processes(
+ mpi_communicator),
+ tria,
+ SparsityTools::Partitioner::zoltan);
hp::FECollection<dim> fe;
fe.push_back(FESystem<dim>(FE_Q<dim>(1), 1, FE_Q<dim>(1), 1));
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(1);
- GridTools::partition_triangulation(
- Utilities::MPI::n_mpi_processes(mpi_communicator), tria);
+ GridTools::partition_triangulation(Utilities::MPI::n_mpi_processes(
+ mpi_communicator),
+ tria,
+ SparsityTools::Partitioner::zoltan);
const FE_Q<dim> fe(2);
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(1);
- GridTools::partition_triangulation(
- Utilities::MPI::n_mpi_processes(mpi_communicator), tria);
+ GridTools::partition_triangulation(Utilities::MPI::n_mpi_processes(
+ mpi_communicator),
+ tria,
+ SparsityTools::Partitioner::zoltan);
const FESystem<dim> fe(FE_Q<dim>(2), 1, FE_Q<dim>(1), 1);
const std::vector<unsigned int> block_component({0, 1});