Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Jul 15, 2024
1 parent c9e4f03 commit 80b775e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/MultilevelTools/ModelHierarchies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,12 @@ function CartesianModelHierarchy(
level_parts[lev],np_per_level[lev],CartesianDescriptor(domain,ncells;map,isperiodic)
)
if lev != 1
ncells = nc .* level_nrefs[lev-1]
ncells = ncells .* level_nrefs[lev-1]
end
end
map_main(ranks) do r
@info "$(nlevs)-level CartesianModelHierarchy:\n$(join([" > Level $(lev): "*repr("text/plain",level_descs[lev]) for lev in 1:nlevs],"\n"))"
end

meshes = Vector{ModelHierarchyLevel}(undef,nlevs)
if i_am_in(level_parts[nlevs])
Expand Down
1 change: 1 addition & 0 deletions test/Applications/mpi/StokesGMG.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ with_mpi() do distribute
StokesGMGApplication.main(distribute,4,(8,8),[(2,2),(1,1)])
StokesGMGApplication.main(distribute,4,(8,8),[(2,2),(2,1)])
StokesGMGApplication.main(distribute,4,(8,8),[(2,2),(2,2)])
StokesGMGApplication.main(distribute,4,(4,4),[(2,2),(2,1),(1,1)])
StokesGMGApplication.main(distribute,4,(4,4,4),[(2,2,1),(1,1,1)])
StokesGMGApplication.main(distribute,4,(4,4,4),[(2,2,1),(2,1,1)])
StokesGMGApplication.main(distribute,4,(4,4,4),[(2,2,1),(2,2,1)])
Expand Down

0 comments on commit 80b775e

Please sign in to comment.