Skip to content

Commit

Permalink
Updated NEWS and bumped release
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Jul 18, 2024
1 parent 6efeb67 commit 1638b5a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.3] 2024-07-18

### Added

- Added distributed refinement of unstructured meshes. Since PR[#149](https://github.com/gridap/GridapDistributed.jl/pull/149).

## [0.4.2] 2024-07-4

### Added
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridapDistributed"
uuid = "f9701e48-63b3-45aa-9a63-9bc6c271f355"
authors = ["S. Badia <[email protected]>", "A. F. Martin <[email protected]>", "F. Verdugo <[email protected]>"]
version = "0.4.2"
version = "0.4.3"

[deps]
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
Expand All @@ -17,7 +17,7 @@ WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"
[compat]
BlockArrays = "0.16.38"
FillArrays = "0.8.4,1"
Gridap = "0.18"
Gridap = "0.18.3"
LinearAlgebra = "1.3"
MPI = "0.16, 0.17, 0.18, 0.19, 0.20"
PartitionedArrays = "0.3.3"
Expand Down
5 changes: 4 additions & 1 deletion src/Adaptivity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,10 @@ function redistribute_cartesian(
> Old: $(repr("text/plain",old_model.metadata))
> New: $(repr("text/plain",_new_model.metadata))
"
msg1 = "Both models should have the same number of cells for redistribution!"
@check old_model.metadata.descriptor.partition == ncells msg1
msg2 = "Only redistribution to a higher number of processors is supported!"
@check prod(old_model.metadata.mesh_partition) <= prod(new_parts) msg2
end

rglue = get_cartesian_redistribute_glue(_new_model,old_model;old_ranks)
Expand Down Expand Up @@ -1105,7 +1109,6 @@ function refine_cell_gids(

own2global = own_to_global(own_gids)

n_nbors = length(ghost_lids)
n_own = length(own_lids)
n_ghost = length(ghost_lids.data)
local2global = fill(0,n_own+n_ghost)
Expand Down

0 comments on commit 1638b5a

Please sign in to comment.