Skip to content

Commit bda96fd

Browse files
committed
Fix code using unsigned int instead of dof_id_type
1 parent 6324369 commit bda96fd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

examples/transient/transient_ex3/claw_system.C

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ void ClawSystem::assemble_mass_matrix()
305305

306306
// DofMap reference and vector used for getting dof_indices on each Elem
307307
const DofMap & dof_map = get_dof_map();
308-
std::vector<unsigned int> dof_indices;
308+
std::vector<dof_id_type> dof_indices;
309309

310310
for (const auto & elem : mesh.active_local_element_ptr_range())
311311
{
@@ -377,7 +377,7 @@ void ClawSystem::assemble_advection_matrices()
377377

378378
// DofMap reference and vector used for getting dof_indices on each Elem
379379
const DofMap & dof_map = get_dof_map();
380-
std::vector<unsigned int> dof_indices;
380+
std::vector<dof_id_type> dof_indices;
381381

382382
for (const auto & elem : mesh.active_local_element_ptr_range())
383383
{
@@ -469,8 +469,8 @@ void ClawSystem::assemble_avg_coupling_matrices()
469469

470470
// DofMap reference and vectors used for getting dof_indices on each Elem
471471
const DofMap & dof_map = get_dof_map();
472-
std::vector<unsigned int> dof_indices;
473-
std::vector<unsigned int> neighbor_dof_indices;
472+
std::vector<dof_id_type> dof_indices;
473+
std::vector<dof_id_type> neighbor_dof_indices;
474474

475475
for (const auto * elem : mesh.active_local_element_ptr_range())
476476
{
@@ -639,8 +639,8 @@ void ClawSystem::assemble_jump_coupling_matrix()
639639

640640
// DofMap reference and vectors used for storing dof_indices
641641
const DofMap & dof_map = get_dof_map();
642-
std::vector<unsigned int> dof_indices;
643-
std::vector<unsigned int> neighbor_dof_indices;
642+
std::vector<dof_id_type> dof_indices;
643+
std::vector<dof_id_type> neighbor_dof_indices;
644644

645645
for (const auto & elem : mesh.active_local_element_ptr_range())
646646
{
@@ -783,7 +783,7 @@ void ClawSystem::assemble_boundary_condition_matrices()
783783

784784
// DofMap reference and vector used for getting dof_indices on each Elem
785785
const DofMap & dof_map = get_dof_map();
786-
std::vector<unsigned int> dof_indices;
786+
std::vector<dof_id_type> dof_indices;
787787

788788
for (const auto & elem : mesh.active_local_element_ptr_range())
789789
{

0 commit comments

Comments
 (0)