git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28962
0785d39b-7218-0410-832d-
ea1e28bc413d
graph->ExtractMyRowView(i, num_entries, indices);
for (size_type j=0; j<(size_type)num_entries; ++j)
{
- if (static_cast<size_type>(std::abs(static_cast<size_type>(i-indices[j]))) > local_b)
- local_b = std::abs(static_cast<size_type>(i-indices[j]));
+ if (static_cast<size_type>(std::abs(static_cast<TrilinosWrapper::types::int_type>(i-indices[j]))) > local_b)
+ local_b = std::abs(static_cast<TrilinosWrapper::types::int_type>(i-indices[j]));
}
}
graph->Comm().MaxAll((TrilinosWrapper::types::int_type *)&local_b, &global_b, 1);
std::sort(local_dof_indices.begin(), local_dof_indices.end());
//macros are evil...
- unsigned int invalid_dofindex = DoFHandler<dim,dim>::invalid_dof_index;
+ types::global_dof_index invalid_dofindex = DoFHandler<dim,dim>::invalid_dof_index;
Assert((*local_dof_indices.rbegin())!=invalid_dofindex, ExcInternalError());
}
cell->get_dof_indices (local_dof_indices);
for (std::vector<types::global_dof_index>::iterator it=local_dof_indices.begin(); it!= local_dof_indices.end(); ++it)
{
- unsigned int invalid_dofindex = DoFHandler<dim,dim>::invalid_dof_index;
+ types::global_dof_index invalid_dofindex = DoFHandler<dim,dim>::invalid_dof_index;
Assert(*it!=invalid_dofindex, ExcInternalError());
control_dof_set.insert(*it);
}
mat.compress();
- std::vector<unsigned int> rows(1,1);
+ std::vector<types::global_dof_index> rows(1,1);
mat.clear_rows(rows);
// mat.write_ascii();
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