git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@27554
0785d39b-7218-0410-832d-
ea1e28bc413d
dof_handler.n_locally_owned_dofs_per_processor(),
mpi_communicator,
locally_relevant_dofs);
+
+#ifdef USE_PETSC_LA
system_matrix.reinit (mpi_communicator,
csp,
dof_handler.n_locally_owned_dofs_per_processor(),
dof_handler.n_locally_owned_dofs_per_processor(),
Utilities::MPI::this_mpi_process(mpi_communicator));
+#else
+ system_matrix.reinit (locally_owned_dofs,
+ locally_owned_dofs,
+ csp,
+ mpi_communicator,
+ false);
+#endif
}
{
LA::MPI::Vector
completely_distributed_solution (mpi_communicator,
- dof_handler.n_dofs(),
- dof_handler.n_locally_owned_dofs());
+ locally_owned_dofs);
SolverControl solver_control (dof_handler.n_dofs(), 1e-12);
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams