for (unsigned int i=0; i<n; ++i)
csp.add(i, myid);
- SparsityTools::distribute_sparsity_pattern<>(csp,
- rows_per_cpu,
- MPI_COMM_WORLD,
- locally_rel);
+ SparsityTools::distribute_sparsity_pattern(csp,
+ rows_per_cpu,
+ MPI_COMM_WORLD,
+ locally_rel);
/* {
std::ofstream f((std::string("after")+Utilities::int_to_string(myid)).c_str());
csp.print(f);
deallog << "size: " << csp.n_rows() << "x" << csp.n_cols() << std::endl;
}
- SparsityTools::distribute_sparsity_pattern<>(csp,
- locally_owned_dofs_per_cpu,
- MPI_COMM_WORLD,
- locally_rel);
+ SparsityTools::distribute_sparsity_pattern(csp,
+ locally_owned_dofs_per_cpu,
+ MPI_COMM_WORLD,
+ locally_rel);
/* {
std::ofstream f((std::string("after")+Utilities::int_to_string(myid)).c_str());
csp.print(f);
locally_owned_dofs_per_cpu2[i].add_range((i)*num_local, (i+1)*num_local);
- SparsityTools::distribute_sparsity_pattern<>(csp,
- locally_owned_dofs_per_cpu2,
- MPI_COMM_WORLD,
- locally_rel);
+ SparsityTools::distribute_sparsity_pattern(csp,
+ locally_owned_dofs_per_cpu2,
+ MPI_COMM_WORLD,
+ locally_rel);
if (myid==0)
{