DoFRenumbering::component_wise(dof_handler);
// total number of dof per block component
- std::vector<types::global_dof_indices> dofs_per_block(2);
+ std::vector<types::global_dof_index> dofs_per_block(2);
DoFTools::count_dofs_per_block(dof_handler, dofs_per_block, block_component);
const unsigned int n_stress_dof = dofs_per_block[0];
.get_function_divergences (fe_function, divergences);
// now do the same "by hand"
- std::vector<types::global_dof_indices> local_dof_indices (fe.dofs_per_cell);
+ std::vector<types::global_dof_index> local_dof_indices (fe.dofs_per_cell);
dof.begin_active()->get_dof_indices (local_dof_indices);
for (unsigned int q=0; q<quadrature.size(); ++q)
.get_function_divergences (fe_function, divergences);
// now do the same "by hand"
- std::vector<types::global_dof_indices> local_dof_indices (fe.dofs_per_cell);
+ std::vector<types::global_dof_index> local_dof_indices (fe.dofs_per_cell);
dof.begin_active()->get_dof_indices (local_dof_indices);
for (unsigned int i=0; i<fe.dofs_per_cell; ++i)
.get_function_divergences (fe_function, divergences);
// now do the same "by hand"
- std::vector<types::global_dof_indices> local_dof_indices (fe.dofs_per_cell);
+ std::vector<types::global_dof_index> local_dof_indices (fe.dofs_per_cell);
dof.begin_active()->get_dof_indices (local_dof_indices);
for (unsigned int i=0; i<fe.dofs_per_cell; ++i)
DoFRenumbering::component_wise(dof_handler);
// total number of dof per block component
- std::vector<types::global_dof_indices> dofs_per_block(2);
+ std::vector<types::global_dof_index> dofs_per_block(2);
DoFTools::count_dofs_per_block(dof_handler, dofs_per_block, block_component);
const unsigned int n_stress_dof = dofs_per_block[0];