Skip to content

Commit

Permalink
Merge branch 'dev-openmp' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
sfilippone committed Sep 7, 2023
2 parents 0bcc9d7 + 24c85c7 commit fb490ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions amgprec/impl/aggregator/amg_c_soc1_map_bld.F90
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ subroutine amg_c_soc1_map_bld(iorder,theta,clean_zeros,a,desc_a,nlaggr,ilaggr,in
j = icol(k)
! If any of the neighbours is already assigned,
! we will not reset.
if (j>nr) cycle step1
if (ilaggr(j) > 0) cycle step1
if (abs(val(k)) > theta*sqrt(abs(diag(i)*diag(j)))) then
ip = ip + 1
Expand Down
1 change: 1 addition & 0 deletions amgprec/impl/aggregator/amg_d_soc1_map_bld.F90
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ subroutine amg_d_soc1_map_bld(iorder,theta,clean_zeros,a,desc_a,nlaggr,ilaggr,in
j = icol(k)
! If any of the neighbours is already assigned,
! we will not reset.
if (j>nr) cycle step1
if (ilaggr(j) > 0) cycle step1
if (abs(val(k)) > theta*sqrt(abs(diag(i)*diag(j)))) then
ip = ip + 1
Expand Down
1 change: 1 addition & 0 deletions amgprec/impl/aggregator/amg_s_soc1_map_bld.F90
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ subroutine amg_s_soc1_map_bld(iorder,theta,clean_zeros,a,desc_a,nlaggr,ilaggr,in
j = icol(k)
! If any of the neighbours is already assigned,
! we will not reset.
if (j>nr) cycle step1
if (ilaggr(j) > 0) cycle step1
if (abs(val(k)) > theta*sqrt(abs(diag(i)*diag(j)))) then
ip = ip + 1
Expand Down
1 change: 1 addition & 0 deletions amgprec/impl/aggregator/amg_z_soc1_map_bld.F90
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ subroutine amg_z_soc1_map_bld(iorder,theta,clean_zeros,a,desc_a,nlaggr,ilaggr,in
j = icol(k)
! If any of the neighbours is already assigned,
! we will not reset.
if (j>nr) cycle step1
if (ilaggr(j) > 0) cycle step1
if (abs(val(k)) > theta*sqrt(abs(diag(i)*diag(j)))) then
ip = ip + 1
Expand Down

0 comments on commit fb490ce

Please sign in to comment.