* in hierarchical ordering is the ith deal cell starting
* from begin(0).
*/
- const std::vector<unsigned int> &
+ const std::vector<types::global_dof_index> &
get_p4est_tree_to_coarse_cell_permutation() const;
* by p4est is located on geometrically
* close coarse grid cells.
*/
- std::vector<unsigned int> coarse_cell_to_p4est_tree_permutation;
- std::vector<unsigned int> p4est_tree_to_coarse_cell_permutation;
+ std::vector<types::global_dof_index> coarse_cell_to_p4est_tree_permutation;
+ std::vector<types::global_dof_index> p4est_tree_to_coarse_cell_permutation;
/**
* Return a pointer to the p4est
* in hierarchical ordering is the ith deal cell starting
* from begin(0).
*/
- const std::vector<unsigned int> &
+ const std::vector<types::global_dof_index> &
get_p4est_tree_to_coarse_cell_permutation() const;
/**
* these variables at a
* couple places anyway.
*/
- std::vector<unsigned int> coarse_cell_to_p4est_tree_permutation;
- std::vector<unsigned int> p4est_tree_to_coarse_cell_permutation;
+ std::vector<types::global_dof_index> coarse_cell_to_p4est_tree_permutation;
+ std::vector<types::global_dof_index> p4est_tree_to_coarse_cell_permutation;
/**
* dummy settings
const std::vector<std::list<
std::pair<typename Triangulation<dim,spacedim>::active_cell_iterator,unsigned int> > >
& vertex_to_cell,
- const std::vector<unsigned int> &coarse_cell_to_p4est_tree_permutation,
+ const std::vector<types::global_dof_index> &coarse_cell_to_p4est_tree_permutation,
const bool set_vertex_info,
typename internal::p4est::types<dim>::connectivity *connectivity)
{
{
public:
RefineAndCoarsenList (const Triangulation<dim,spacedim> &triangulation,
- const std::vector<unsigned int> &p4est_tree_to_coarse_cell_permutation,
+ const std::vector<types::global_dof_index> &p4est_tree_to_coarse_cell_permutation,
const types::subdomain_id my_subdomain,
typename internal::p4est::types<dim>::forest &forest);
template <int dim, int spacedim>
RefineAndCoarsenList<dim,spacedim>::
RefineAndCoarsenList (const Triangulation<dim,spacedim> &triangulation,
- const std::vector<unsigned int> &p4est_tree_to_coarse_cell_permutation,
+ const std::vector<types::global_dof_index> &p4est_tree_to_coarse_cell_permutation,
const types::subdomain_id my_subdomain,
typename internal::p4est::types<dim>::forest &forest)
:
template <int dim, int spacedim>
- const std::vector<unsigned int> &
+ const std::vector<types::global_dof_index> &
Triangulation<dim, spacedim>::get_p4est_tree_to_coarse_cell_permutation() const
{
return p4est_tree_to_coarse_cell_permutation;
{
int i, l = quad.level;
int child_id;
- const std::vector<unsigned int> perm = triangulation->get_p4est_tree_to_coarse_cell_permutation ();
- unsigned int dealii_index = perm[treeidx];
+ const std::vector<types::global_dof_index> perm = triangulation->get_p4est_tree_to_coarse_cell_permutation ();
+ types::global_dof_index dealii_index = perm[treeidx];
for (i = 0; i < l; i++) {
typename dealii::Triangulation<dim,spacedim>::cell_iterator cell (triangulation, i, dealii_index);
}
template <>
- const std::vector<unsigned int> &
+ const std::vector<types::global_dof_index> &
Triangulation<1,1>::get_p4est_tree_to_coarse_cell_permutation() const
{
- static std::vector<unsigned int> a;
+ static std::vector<types::global_dof_index> a;
return a;
}